// ... 'name' => Jelly::field('string', array( // Array for rules 'rules' => array(), )), 'name' => Jelly::field('string', array( 'rules' => array( // Add rule that only accepts the field value array('not_empty'), ), )), 'name' => Jelly::field('string', array( 'rules' => array( // Add rule that accepts parameters as well array('max_length', array(':value', 32)), ), )), // ... 'name' => Jelly::fi..
Jelly Module 사용하기 Jelly Class - meta - field - model - validation - event - collection - builder - behavior 기본 사용 방법 jelly Model 의 정의 class Model_Board_Old_Article extends Jelly_Model { public static function initialize(Jelly_Meta $meta) { $meta->table("ha_board")->fields(array( 'b_no' => Jelly::field('primary'), 'b_group_no' => Jelly::field('integer'), 'b_depth_no' => Jelly::field('integer', ar..