function __construct($xpath, \Kinesis\Task $parent = null) { if (is_string($xpath)) { $this->XPath = $xpath; } parent::__construct(array(), $parent); }
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); }