SimpleExcel\Parser\BaseParser::__construct PHP Метод

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

public __construct ( string $file_url = NULL )
$file_url string Path to file (optional)
    public function __construct($file_url = NULL)
    {
        if (isset($file_url)) {
            $this->loadFile($file_url);
        }
    }

Usage Example

Пример #1
0
 /**
  * @param    string  $file_url   Path to file (optional)
  */
 public function __construct($file_url = NULL)
 {
     parent::__construct();
     $this->error_reporting_err_only = E_ALL & ~E_NOTICE & ~E_WARNING;
     $this->error_reporting_saved = error_reporting();
 }