Exemplo n.º 1
0
 /**
  * This method does the actual convertion to an array
  * Does not fire any events
  * @return array an associative array of the contents of this object
  * @since v1.3.4
  */
 protected function _toArray()
 {
     $arr = parent::_toArray();
     foreach ($this->softAttributes as $key => $value) {
         $arr[$key] = $value;
     }
     return $arr;
 }