Esempio n. 1
0
 /**
  * Constructur.
  *
  * @param array $options Array with input options.
  */
 function __construct($options)
 {
     parent::__construct();
     if (array_key_exists('f', $options) !== false) {
         $this->importFile = $options["f"];
     }
 }
 /**
  * Constructur.
  *
  * @param array $options Array with input options.
  */
 function __construct($options)
 {
     parent::__construct();
     if (array_key_exists('f', $options) !== false) {
         $this->importFile = $options["f"];
     }
     if (array_key_exists('p', $options) !== false) {
         array_push($this->fulltextPath, $options["p"]);
     }
     if (array_key_exists('q', $options) !== false) {
         $this->fulltextPath = preg_split('/\\s+/', $options["q"]);
     }
     if (array_key_exists('s', $options) !== false) {
         $this->start = $options["s"];
     }
     if (array_key_exists('e', $options) !== false) {
         $this->end = $options["e"];
     }
     if (array_key_exists('l', $options) !== false) {
         $this->lockFile = $options["l"];
     }
 }