Horde_Core_Ajax_Response::__construct PHP Метод

__construct() публичный Метод

Constructor.
public __construct ( mixed $data = null )
$data mixed Response data to send to browser.
    public function __construct($data = null)
    {
        $this->data = $data;
    }

Usage Example

Пример #1
0
 /**
  * Constructor.
  *
  * @param mixed $data   Response data to send to browser.
  * @param mixed $tasks  Task data to send to browser.
  */
 public function __construct($data = null, $tasks = null)
 {
     parent::__construct($data);
     $this->tasks = $tasks;
 }
All Usage Examples Of Horde_Core_Ajax_Response::__construct
Horde_Core_Ajax_Response