Show
Ignore:
Timestamp:
05/04/08 23:49:32 (8 months ago)
Author:
aarkerio
Message:

Best podcast

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/models/webquest.php

    r416 r452  
    1212    public $belongsTo   = 'User'; 
    1313     
     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                    )); 
    1425 
    1526    public $hasAndBelongsToMany = array('Vclassroom' => 
     
    2940      'title' => VALID_NOT_EMPTY,         //'/[a-z0-9\_\-]{3,}$/i', 
    3041      'user_id' => VALID_NOT_EMPTY, 
    31       'introduction' => VALID_NOT_EMPTY 
     42      'introduction' => VALID_NOT_EMPTY, 
     43      'points' => VALID_NOT_EMPTY 
    3244   ); 
    3345}