Changeset 617 for trunk/app/models
- Timestamp:
- 07/01/08 19:06:58 (5 months ago)
- Location:
- trunk/app/models
- Files:
-
- 2 modified
-
ecourse.php (modified) (1 diff)
-
vclassroom.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/models/ecourse.php
r352 r617 50 50 'message' => 'Mimimum 8 characters long' 51 51 ), 52 'code' => array(53 'rule' => array('minLength', 4),54 'allowEmpty' => false,55 'message' => 'Mimimum 4 characters long'56 ),57 52 'lang_id' => array( 58 53 'rule' => 'numeric', -
trunk/app/models/vclassroom.php
r577 r617 11 11 public $name = 'Vclassroom'; 12 12 13 public $belongsTo = 'Ecourse'; 13 public $belongsTo = array('Ecourse' => 14 array('className' => 'Ecourse', 15 'conditions' => '', 16 'order' => '', 17 'foreignKey' => 'ecourse_id' 18 ) 19 ); 14 20 15 21 public $hasMany = array('Forum' =>
