Lines Matching refs:input
193 foreach ($inputs as $input) {
194 if (is_array($input)) {
196 $asset->add(call_user_func_array(array($this, 'createAsset'), $input));
198 $asset->add($this->parseInput($input, $options));
199 $extensions[pathinfo($input, PATHINFO_EXTENSION)] = true;
298 * @param string $input An input string
303 protected function parseInput($input, array $options = array()) argument
305 if ('@' == $input[0]) {
306 return $this->createAssetReference(substr($input, 1));
309 if (false !== strpos($input, '://') || 0 === strpos($input, '//')) {
310 return $this->createHttpAsset($input, $options['vars']);
313 if (self::isAbsolutePath($input)) {
314 if ($root = self::findRootDir($input, $options['root'])) {
315 $path = ltrim(substr($input, strlen($root)), '/');
321 $path = $input;
322 $input = $this->root.'/'.$path;
325 if (false !== strpos($input, '*')) {
326 return $this->createGlobAsset($input, $root, $options['vars']);
329 return $this->createFileAsset($input, $root, $path, $options['vars']);