Beispiel #1
0
 public function __set($name, $value)
 {
     $names = array_flip($this->attributeNames());
     if (isset($names[$name])) {
         $this->_attributes[$name] = $value;
     } else {
         return parent::__set($name, $value);
     }
 }
Beispiel #2
0
 public function attributeLabels()
 {
     return array_merge(parent::attributeLabels(), array('actionDescription' => Yii::t('actions', 'Call Notes'), 'dueDate' => Yii::t('actions', 'Time Started'), 'completeDate' => Yii::t('actions', 'Time Ended')));
 }
Beispiel #3
0
 public function attributeLabels()
 {
     return array_merge(parent::attributeLabels(), array());
 }
Beispiel #4
0
 public function attributeLabels()
 {
     return array_merge(parent::attributeLabels(), array('actionDescription' => Yii::t('actions', 'Notes'), 'dueDate' => Yii::t('actions', 'Start Date'), 'completeDate' => Yii::t('actions', 'End Date')));
 }