Storage::__construct PHP Method

__construct() public method

public __construct ( $config )
    function __construct($config)
    {
        $this->file = $config;
        if (!$this->isAvailable()) {
            throw new InvalidArgumentException($this->error);
        }
    }

Usage Example

Ejemplo n.º 1
0
 public function __construct($param = array())
 {
     parent::__construct($param);
     $this->_xml = new DOMDocument();
     $this->_filename = dirname(__FILE__) . '/../../configs/xml/' . $this->_connec_data[0];
     $this->_current_page = $this->_connec_data[1];
 }
All Usage Examples Of Storage::__construct