Пример #1
0
 public function __construct(&$script, $data = "", $args = "", $location = "", $lineNumber = "")
 {
     parent::__construct($script, $data, $args, $location, $lineNumber);
     $parts = preg_split('/\\s/', trim($data), 2);
     $this->sectionName = $parts[0];
     $this->argumentExpression = isset($parts[1]) ? $parts[1] : null;
     //		echo "Expr = /$parts[1]/";
     //    $this->searchPath = One_Script_Factory::getSearchPath();
 }
Пример #2
0
 public function __construct(&$script, $data = "", $args = "", $location = "", $lineNumber = "")
 {
     parent::__construct($script, $data, $args, $location, $lineNumber);
     $parts = preg_split('/\\s/', trim($data));
     $this->sectionName = $parts[0];
     $this->argument = isset($parts[1]) ? $parts[1] : null;
     //              echo 'ARG=',$this->argument;
     $this->mark = false;
 }