protected function prepare()
    {
        if (!is_array($this->data) || count($this->data) == 0) {
            $this->setData($this->read());
        }
    }
protected function prepare()
    {
        if (!is_array($this->data) || count($this->data) == 0) {
            $this->setData($this->read());
        }
    }
protected function prepare ( ) { if ( ! is_array ( $ this -> data ) || count ( $ this -> data ) == 0 ) { $ this -> setData ( $ this -> read ( ) ) ; } }
Read the data and set it
Read the data and set it