public function setData($data)
    {
        // Format data
        $data = $this->format($data, $this->_format);
        // CI Output
        $this->ci->output->set_output($data);

        return $this;
    }
public function setData($data)
    {
        // Format data
        $data = $this->format($data, $this->_format);
        // CI Output
        $this->ci->output->set_output($data);

        return $this;
    }
public function setData ( $ data ) { // Format data $ data = $ this -> format ( $ data , $ this -> _format ) ; // CI Output $ this -> ci -> output -> set_output ( $ data ) ; return $ this ; }
Set Response Data into CI_Output

@todo    Format data before send
@param mixed Response data
@return object self
Set Response Data into CI_Output