function execute() { $children = parent::execute(); $this->XPath .= '[' . $children . ']'; $this->getComponent()->Parameters['xpath'] = $this->XPath; return $this->XPath; }
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']); }
function __construct($file, \Kinesis\Task $parent) { $this->File = $file; parent::__construct(null, $parent); }
function __construct($file, Task $parent = null) { $params = array('File' => $file); return parent::__construct($params, $parent); }
function __construct($input, Task $parent = null) { parent::__construct(array('Input' => $input), $parent); }