Changeset 452 for trunk/app/models/webquest.php
- Timestamp:
- 05/04/08 23:49:32 (8 months ago)
- Files:
-
- 1 modified
-
trunk/app/models/webquest.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/models/webquest.php
r416 r452 12 12 public $belongsTo = 'User'; 13 13 14 public $hasMany = array( 15 'ResultWebquest' => 16 array('className' => 'ResultWebquest', 17 'conditions' => null, 18 'order' => null, 19 'limit' => null, 20 'foreignKey' => 'webquest_id', 21 'dependent' => true, 22 'exclusive' => false, 23 'finderQuery' => null 24 )); 14 25 15 26 public $hasAndBelongsToMany = array('Vclassroom' => … … 29 40 'title' => VALID_NOT_EMPTY, //'/[a-z0-9\_\-]{3,}$/i', 30 41 'user_id' => VALID_NOT_EMPTY, 31 'introduction' => VALID_NOT_EMPTY 42 'introduction' => VALID_NOT_EMPTY, 43 'points' => VALID_NOT_EMPTY 32 44 ); 33 45 }
