Пример #1
0
 function execute()
 {
     $children = parent::execute();
     $this->XPath .= '[' . $children . ']';
     $this->getComponent()->Parameters['xpath'] = $this->XPath;
     return $this->XPath;
 }
Пример #2
0
 function __construct($name, $value, $operator = null, \Kinesis\Task $parent = null)
 {
     if (is_null($operator)) {
         $operator = '=';
     }
     $params = array('Name' => $name, 'Value' => $value, 'Operator' => $operator);
     $parent->Children['Where']->addChild($this);
     parent::__construct($params, $parent->Children['Where']);
 }
Пример #3
0
 function __construct($file, \Kinesis\Task $parent)
 {
     $this->File = $file;
     parent::__construct(null, $parent);
 }
Пример #4
0
 function __construct($file, Task $parent = null)
 {
     $params = array('File' => $file);
     return parent::__construct($params, $parent);
 }
Пример #5
0
 function __construct($input, Task $parent = null)
 {
     parent::__construct(array('Input' => $input), $parent);
 }