Lines Matching refs:input
27 protected $input; variable in Sabre\\VObject\\Parser\\Json
44 * @param resource|string|array|null $input
48 public function parse($input = null, $options = null) { argument
50 if (!is_null($input)) {
51 $this->setInput($input);
53 if (is_null($this->input)) {
61 switch($this->input[0]) {
72 foreach($this->input[1] as $prop) {
75 if (isset($this->input[2])) foreach($this->input[2] as $comp) {
80 $this->input = null;
179 * @param resource|string|array $input
182 public function setInput($input) { argument
184 if (is_resource($input)) {
185 $input = stream_get_contents($input);
187 if (is_string($input)) {
188 $input = json_decode($input);
190 $this->input = $input;