Exemple #1
0
 public function getAttributes($names = null)
 {
     $ret = parent::getAttributes($names);
     foreach ($this->i18n() as $field) {
         $ret[$field] = $this->{$field};
     }
     return $ret;
     //return $this->_attributes;
 }
Exemple #2
0
 public function getAttributes($names = null)
 {
     return array_merge($this->player->getAttributes($names), parent::getAttributes($names));
 }