Пример #1
0
 /**
  *
  * @param string $path
  * @param string $mode
  */
 public function __construct($path, $mode = 'r+')
 {
     if (!file_exists($path)) {
         touch($path);
     }
     parent::__construct($path, $mode);
 }
Пример #2
0
 public function __construct($path, $mode = 'r+', $delimiter = ',')
 {
     parent::__construct($path, $mode);
     $this->_delimiter = $delimiter;
     $this->_headers = $this->formatHeaders($this->getRow());
     $this->_line = 0;
 }
Пример #3
0
 public function __construct($path, $mode = 'r+')
 {
     parent::__construct($path, $mode);
     $this->_headers = $this->getRow();
     $this->_line = 0;
 }
Пример #4
0
 public function __construct($path, $mode = 'r+', $delimiter = ',', $enclosure = '"')
 {
     parent::__construct($path, $mode, $delimiter, $enclosure);
     $this->_headers = $this->getRow();
     $this->_line = 0;
 }
Пример #5
0
 /**
  *
  * @param unknown_type $path
  * @param unknown_type $mode
  */
 public function __construct($path, $mode = 'r+')
 {
     parent::__construct($path, $mode);
     $this->initializate();
 }
Пример #6
0
 /**
  * @param $path
  * @param string $mode
  * @param bool   $headersInFirstRow
  */
 public function __construct($path, $mode = 'r+', $headersInFirstRow = true)
 {
     parent::__construct($path, $mode);
     $this->headersInFirstRow = $headersInFirstRow;
 }
Пример #7
0
 /**
  *
  * @param unknown_type $path
  * @param unknown_type $mode
  */
 public function __construct($path, $mode = 'r+', $delimiter = ',', $enclosure = '"')
 {
     parent::__construct($path, $mode, $delimiter, $enclosure);
     $this->initializate();
 }