code/libraries/joomlatools/component/koowa/model/entity/user.php
public function toArray()
    {
        $data = parent::toArray();

        $data = array_intersect_key($data, $this->_fields);

        return $data;
    }
public function toArray()
    {
        $data = parent::toArray();

        $data = array_intersect_key($data, $this->_fields);

        return $data;
    }
public function toArray ( ) { $ data = parent :: toArray ( ) ; $ data = array_intersect_key ( $ data , $ this -> _fields ) ; return $ data ; }
Excludes private fields from JSON representation

@return array
Excludes private fields from JSON representation