Home
last modified time | relevance | path

Searched refs:asset (Results 26 – 50 of 87) sorted by last modified time

1234

/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Filter/Yui/
H A DCssCompressorFilter.php24 public function filterDump(AssetInterface $asset) argument
26 $asset->setContent($this->compress($asset->getContent(), 'css'));
/plugin/jplayer/vendor/kriswallsmith/assetic/
H A DREADME.md3 Assetic is an asset management framework for PHP.
17 // the code is merged when the asset is dumped
24 An Assetic asset is something with filterable content that can be loaded and
121 An asset manager is provided for organizing assets.
178 $factory = new AssetFactory('/path/to/asset/directory/');
184 '@reset', // load the asset manager's "reset" asset
224 of the asset.
235 $factory = new AssetFactory('/path/to/asset/directory/');
242 '@reset', // load the asset manager's "reset" asset
290 to what the asset factory uses:
[all …]
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Asset/Iterator/
H A DAssetCollectionFilterIterator.php52 $asset = $this->getInnerIterator()->current(true);
56 if (in_array($asset, $this->visited, true)) {
59 $this->visited[] = $asset;
63 $sourceRoot = $asset->getSourceRoot();
64 $sourcePath = $asset->getSourcePath();
H A DAssetCollectionIterator.php56 $asset = current($this->assets);
59 return $asset;
63 if (!isset($this->clones[$asset])) {
64 $clone = $this->clones[$asset] = clone $asset;
67 …$name = sprintf('%s_%d', pathinfo($asset->getSourcePath(), PATHINFO_FILENAME) ?: 'part', $this->ke…
73 $clone = $this->clones[$asset];
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/
H A DAssetManager.php59 * @param AssetInterface $asset The asset
63 public function set($name, AssetInterface $asset) argument
69 $this->assets[$name] = $asset;
H A DAssetWriter.php57 public function writeAsset(AssetInterface $asset) argument
59 foreach (VarUtils::getCombinations($asset->getVars(), $this->values) as $combination) {
60 $asset->setValues($combination);
64 $asset->getTargetPath(),
65 $asset->getVars(),
66 $asset->getValues()
68 $asset->dump()
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Extension/Twig/
H A DAsseticTokenParser.php134 … $asset = $this->factory->createAsset($inputs, $filters, $attributes + array('name' => $name));
136 …return $this->createBodyNode($asset, $body, $inputs, $filters, $name, $attributes, $token->getLine…
150 * @param AssetInterface $asset
161 …protected function createBodyNode(AssetInterface $asset, \Twig_Node $body, array $inputs, array $f… argument
168 … return $this->createNode($asset, $body, $inputs, $filters, $name, $attributes, $lineno, $tag);
171 return new AsseticNode($asset, $body, $inputs, $filters, $name, $attributes, $lineno, $tag);
175 * @param AssetInterface $asset
188 …protected function createNode(AssetInterface $asset, \Twig_NodeInterface $body, array $inputs, arr… argument
196 return new AsseticNode($asset, $body, $inputs, $filters, $name, $attributes, $lineno, $tag);
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Filter/
H A DJSMinFilter.php26 public function filterLoad(AssetInterface $asset) argument
30 public function filterDump(AssetInterface $asset) argument
32 $asset->setContent(\JSMin::minify($asset->getContent()));
H A DLessFilter.php104 public function filterLoad(AssetInterface $asset) argument
131 if ($dir = $asset->getSourceDirectory()) {
133 $parserOptions['filename'] = basename($asset->getSourcePath());
144 json_encode($asset->getContent()),
153 throw FilterException::fromProcess($proc)->setInput($asset->getContent());
156 $asset->setContent($proc->getOutput());
159 public function filterDump(AssetInterface $asset) argument
H A DPackagerFilter.php37 public function filterLoad(AssetInterface $asset) argument
50 file_put_contents($package.'/source.js', $asset->getContent());
59 $asset->setContent($content);
62 public function filterDump(AssetInterface $asset) argument
H A DReactJsxFilter.php26 public function filterLoad(AssetInterface $asset) argument
38 file_put_contents($inputFile, $asset->getContent());
65 $asset->setContent(file_get_contents($outputFile));
72 public function filterDump(AssetInterface $asset) argument
H A DAutoprefixerFilter.php57 public function filterLoad(AssetInterface $asset) argument
59 $input = $asset->getContent();
72 throw FilterException::fromProcess($proc)->setInput($asset->getContent());
75 $asset->setContent(file_get_contents($output));
82 * @param AssetInterface $asset An asset
84 public function filterDump(AssetInterface $asset) argument
H A DCleanCssFilter.php232 public function filterLoad(AssetInterface $asset) argument
242 public function filterDump(AssetInterface $asset) argument
326 file_put_contents($input, $asset->getContent());
338 throw FilterException::fromProcess($proc)->setInput($asset->getContent());
341 $asset->setContent($proc->getOutput());
H A DCoffeeScriptFilter.php49 public function filterLoad(AssetInterface $asset) argument
52 file_put_contents($input, $asset->getContent());
74 throw FilterException::fromProcess($proc)->setInput($asset->getContent());
77 $asset->setContent($proc->getOutput());
80 public function filterDump(AssetInterface $asset) argument
H A DCompassFilter.php187 public function filterLoad(AssetInterface $asset) argument
190 if ($dir = $asset->getSourceDirectory()) {
317 } elseif ($path = $asset->getSourcePath()) {
336 file_put_contents($input, $asset->getContent());
356 throw FilterException::fromProcess($proc)->setInput($asset->getContent());
359 $asset->setContent(file_get_contents($output));
368 public function filterDump(AssetInterface $asset) argument
H A DSassphpFilter.php29 public function filterLoad(AssetInterface $asset) argument
34 array($asset->getSourceDirectory()),
43 $css = $sass->compile($asset->getContent());
45 $asset->setContent($css);
48 public function filterDump(AssetInterface $asset) argument
H A DStylusFilter.php66 public function filterLoad(AssetInterface $asset) argument
85 if ($dir = $asset->getSourceDirectory()) {
87 $parserOptions['filename'] = basename($asset->getSourcePath());
98 json_encode($asset->getContent()),
108 throw FilterException::fromProcess($proc)->setInput($asset->getContent());
111 $asset->setContent($proc->getOutput());
117 public function filterDump(AssetInterface $asset) argument
H A DUglifyCssFilter.php73 public function filterLoad(AssetInterface $asset) argument
82 public function filterDump(AssetInterface $asset) argument
103 file_put_contents($input, $asset->getContent());
115 throw FilterException::fromProcess($proc)->setInput($asset->getContent());
118 $asset->setContent($proc->getOutput());
H A DUglifyJs2Filter.php77 public function filterLoad(AssetInterface $asset) argument
81 public function filterDump(AssetInterface $asset) argument
125 file_put_contents($input, $asset->getContent());
141 throw FilterException::fromProcess($proc)->setInput($asset->getContent());
148 $asset->setContent(file_get_contents($output));
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Asset/
H A DAssetCollectionInterface.php31 * @param AssetInterface $asset An asset
33 public function add(AssetInterface $asset); argument
H A DAssetReference.php28 private $asset; variable in Assetic\\Asset\\AssetReference
40 if ($this->asset) {
41 $this->asset = clone $this->asset;
136 $asset = $this->resolve();
143 $asset = $this->resolve();
146 $asset->ensureFilter($filter);
152 if ($this->asset) {
153 return $this->asset;
156 $asset = $this->am->get($this->name);
159 $asset = $this->asset = clone $asset;
[all …]
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Factory/
H A DLazyAssetManager.php206 public function getLastModified(AssetInterface $asset) argument
208 return $this->factory->getLastModified($asset);
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Factory/Worker/
H A DEnsureFilterWorker.php51 public function process(AssetInterface $asset, AssetFactory $factory) argument
54 …RCE === (self::CHECK_SOURCE & $this->flags) && preg_match($this->pattern, $asset->getSourcePath()))
56 …GET === (self::CHECK_TARGET & $this->flags) && preg_match($this->pattern, $asset->getTargetPath()))
58 $asset->ensureFilter($this->filter);
H A DWorkerInterface.php27 * @param AssetInterface $asset An asset
32 public function process(AssetInterface $asset, AssetFactory $factory); argument
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Filter/Sass/
H A DSassFilter.php107 public function filterLoad(AssetInterface $asset) argument
116 if ($dir = $asset->getSourceDirectory()) {
124 …if (true === $this->scss || (null === $this->scss && 'scss' == pathinfo($asset->getSourcePath(), P…
170 file_put_contents($input, $asset->getContent());
177 throw FilterException::fromProcess($proc)->setInput($asset->getContent());
180 $asset->setContent($proc->getOutput());
183 public function filterDump(AssetInterface $asset) argument

1234