Exemple #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);
     }
 }
Exemple #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')));
 }
Exemple #3
0
 public function attributeLabels()
 {
     return array_merge(parent::attributeLabels(), array());
 }
Exemple #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')));
 }