public function setData($data)
    {
        if (true === is_object($data)) {
            return $this->setDataObject($data);
        }

        $this->_picpath = null;
        $this->_isValid = null;
        $this->_domdocument = null;
        $this->_zones = null;

        $this->_data = $data;

        return $this;
    }
public function setData($data)
    {
        if (true === is_object($data)) {
            return $this->setDataObject($data);
        }

        $this->_picpath = null;
        $this->_isValid = null;
        $this->_domdocument = null;
        $this->_zones = null;

        $this->_data = $data;

        return $this;
    }
public function setData ( $ data ) { if ( true === is_object ( $ data ) ) { return $ this -> setDataObject ( $ data ) ; } $ this -> _picpath = null ; $ this -> _isValid = null ; $ this -> _domdocument = null ; $ this -> _zones = null ; $ this -> _data = $ data ; return $ this ; }
Sets the data associated to the layout.
No validation checks are performed at this step.

@param mixed $data

@return \BackBee\Site\Layout
Sets the data associated to the layout . No validation checks are performed at this step .