예제 #1
0
 /**
  * Gets a list of attribute names on the model
  * @return array the list of attribute names
  */
 public function attributeNames()
 {
     return CMap::mergeArray(array_keys($this->_attributes->toArray()), parent::attributeNames());
 }