web access very cool
This commit is contained in:
1 parent
760ddd06ee
commit
482fb1edc4
51 files changed
+1780
-350
No files matched your search
@@ -26,8 +26,7 @@ class VideoChannelRelation extends CActiveRecord
|
||||
// NOTE: you should only define rules for those attributes that
|
||||
// will receive user inputs.
|
||||
return array(
|
||||
array('id, videoUrl, name', 'required'),
|
||||
array('id', 'numerical', 'integerOnly'=>true),
|
||||
array('videoUrl, name', 'required'),
|
||||
// The following rule is used by search().
|
||||
// @todo Please remove those attributes that should not be searched.
|
||||
array('id, videoUrl, name', 'safe', 'on'=>'search'),
|
||||
|
||||
Reference in new issue
Block a user