Home
last modified time | relevance | path

Searched refs:asset (Results 1 – 25 of 89) sorted by relevance

1234

/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Asset/
DAssetCache.php25 private $asset; variable in Assetic\\Asset\\AssetCache
28 public function __construct(AssetInterface $asset, CacheInterface $cache) argument
30 $this->asset = $asset;
36 $this->asset->ensureFilter($filter);
41 return $this->asset->getFilters();
46 $this->asset->clearFilters();
51 $cacheKey = self::getCacheKey($this->asset, $additionalFilter, 'load');
53 $this->asset->setContent($this->cache->get($cacheKey));
58 $this->asset->load($additionalFilter);
59 $this->cache->set($cacheKey, $this->asset->getContent());
[all …]
DAssetCollection.php46 foreach ($assets as $asset) {
47 $this->add($asset);
68 public function add(AssetInterface $asset) argument
70 $this->assets[] = $asset;
75 foreach ($this->assets as $i => $asset) {
76 $clone = isset($this->clones[$asset]) ? $this->clones[$asset] : null;
77 if (in_array($needle, array($asset, $clone), true)) {
78 unset($this->clones[$asset], $this->assets[$i]);
83 if ($asset instanceof AssetCollectionInterface && $asset->removeLeaf($needle, true)) {
97 foreach ($this->assets as $i => $asset) {
[all …]
DAssetReference.php28 private $asset; variable in Assetic\\Asset\\AssetReference
40 if ($this->asset) {
41 $this->asset = clone $this->asset;
136 $asset = $this->resolve();
138 return call_user_func_array(array($asset, $method), $arguments);
143 $asset = $this->resolve();
146 $asset->ensureFilter($filter);
152 if ($this->asset) {
153 return $this->asset;
156 $asset = $this->am->get($this->name);
[all …]
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Factory/
DAssetFactory.php189 $asset = $this->createAssetCollection(array(), $options);
196 $asset->add(call_user_func_array(array($this, 'createAsset'), $input));
198 $asset->add($this->parseInput($input, $options));
206 $asset->ensureFilter($this->getFilter($filter));
208 $asset->ensureFilter($this->getFilter(substr($filter, 1)));
234 $asset->setTargetPath(str_replace('*', $options['name'], $options['output']));
237 return $this->applyWorkers($asset);
251 public function getLastModified(AssetInterface $asset) argument
254 foreach ($asset instanceof AssetCollectionInterface ? $asset : array($asset) as $leaf) {
376 * @param AssetCollectionInterface $asset An asset collection
[all …]
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Factory/Worker/
DCacheBustingWorker.php32 public function process(AssetInterface $asset, AssetFactory $factory) argument
34 if (!$path = $asset->getTargetPath()) {
44 $replace = $this->separator.$this->getHash($asset, $factory).'.'.$search;
50 $asset->setTargetPath(
55 protected function getHash(AssetInterface $asset, AssetFactory $factory) argument
59 hash_update($hash, $factory->getLastModified($asset));
61 if ($asset instanceof AssetCollectionInterface) {
62 foreach ($asset as $i => $leaf) {
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Extension/Twig/
DAsseticNode.php27 * @param AssetInterface $asset The asset
36 …public function __construct(AssetInterface $asset, \Twig_Node $body, array $inputs, array $filters… argument
43 array('asset' => $asset, 'inputs' => $inputs, 'filters' => $filters, 'name' => $name)
102 protected function compileAsset(\Twig_Compiler $compiler, AssetInterface $asset, $name) argument
104 if ($vars = $asset->getVars()) {
127 $this->compileAssetUrl($compiler, $asset, $name);
135 protected function compileAssetUrl(\Twig_Compiler $compiler, AssetInterface $asset, $name) argument
137 if (!$vars = $asset->getVars()) {
138 $compiler->repr($asset->getTargetPath());
145 ->string($asset->getTargetPath())
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/
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/authgooglesheets/vendor/google/apiclient-services/src/CloudDataplex/
DGoogleCloudDataplexV1ActionFailedSecurityPolicyApply.php25 public $asset; variable in Google\\Service\\CloudDataplex\\GoogleCloudDataplexV1ActionFailedSecurityPolicyApply
30 public function setAsset($asset) argument
32 $this->asset = $asset;
39 return $this->asset;
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Filter/
DSprocketsFilter.php62 public function filterLoad(AssetInterface $asset) argument
94 file_put_contents($tmpAsset, $asset->getContent());
101 $this->getHack($asset),
117 throw FilterException::fromProcess($proc)->setInput($asset->getContent());
120 $asset->setContent($proc->getOutput());
123 public function filterDump(AssetInterface $asset) argument
133 private function getHack(AssetInterface $asset) argument
148 if ($dir = $asset->getSourceDirectory()) {
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
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
DPhpCssEmbedFilter.php33 public function filterLoad(AssetInterface $asset) argument
36 if ($dir = $asset->getSourceDirectory()) {
40 $asset->setContent($pce->embedString($asset->getContent()));
43 public function filterDump(AssetInterface $asset) argument
DEmberPrecompileFilter.php37 public function filterLoad(AssetInterface $asset) argument
43 if ($sourcePath = $asset->getSourcePath()) {
53 file_put_contents($inputPath, $asset->getContent());
71 throw FilterException::fromProcess($process)->setInput($asset->getContent());
81 $asset->setContent($compiledJs);
84 public function filterDump(AssetInterface $asset) argument
DTypeScriptFilter.php35 public function filterLoad(AssetInterface $asset) argument
41 if ($sourcePath = $asset->getSourcePath()) {
51 file_put_contents($inputPath, $asset->getContent());
64 throw FilterException::fromProcess($proc)->setInput($asset->getContent());
74 $asset->setContent($compiledJs);
77 public function filterDump(AssetInterface $asset) argument
DCssRewriteFilter.php23 public function filterLoad(AssetInterface $asset) argument
27 public function filterDump(AssetInterface $asset) argument
29 $sourceBase = $asset->getSourceRoot();
30 $sourcePath = $asset->getSourcePath();
31 $targetPath = $asset->getTargetPath();
70 … $content = $this->filterReferences($asset->getContent(), function ($matches) use ($host, $path) {
100 $asset->setContent($content);
DCssMinFilter.php53 public function filterLoad(AssetInterface $asset) argument
57 public function filterDump(AssetInterface $asset) argument
63 if ($dir = $asset->getSourceDirectory()) {
70 $asset->setContent(\CssMin::minify($asset->getContent(), $filters, $plugins));
DFilterInterface.php26 * @param AssetInterface $asset An asset
28 public function filterLoad(AssetInterface $asset); argument
33 * @param AssetInterface $asset An asset
35 public function filterDump(AssetInterface $asset); argument
DJSMinFilter.php26 public function filterLoad(AssetInterface $asset) argument
30 public function filterDump(AssetInterface $asset) argument
32 $asset->setContent(\JSMin::minify($asset->getContent()));
DJSMinPlusFilter.php26 public function filterLoad(AssetInterface $asset) argument
30 public function filterDump(AssetInterface $asset) argument
32 $asset->setContent(\JSMinPlus::minify($asset->getContent()));
DMinifyCssCompressorFilter.php27 public function filterLoad(AssetInterface $asset) argument
31 public function filterDump(AssetInterface $asset) argument
33 $asset->setContent(\Minify_CSS_Compressor::process($asset->getContent()));
DHandlebarsFilter.php48 public function filterLoad(AssetInterface $asset) argument
54 if ($sourcePath = $asset->getSourcePath()) {
64 file_put_contents($inputPath, $asset->getContent());
90 throw FilterException::fromProcess($process)->setInput($asset->getContent());
100 $asset->setContent($compiledJs);
103 public function filterDump(AssetInterface $asset) argument
/plugin/authgooglesheets/vendor/google/apiclient-services/src/CloudAsset/
DRelatedAsset.php30 public $asset; variable in Google\\Service\\CloudAsset\\RelatedAsset
53 public function setAsset($asset) argument
55 $this->asset = $asset;
62 return $this->asset;
DGoogleCloudAssetV1p7beta1RelatedAsset.php30 public $asset; variable in Google\\Service\\CloudAsset\\GoogleCloudAssetV1p7beta1RelatedAsset
53 public function setAsset($asset) argument
55 $this->asset = $asset;
62 return $this->asset;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/DataCatalog/
DGoogleCloudDatacatalogV1DataplexSpec.php25 public $asset; variable in Google\\Service\\DataCatalog\\GoogleCloudDatacatalogV1DataplexSpec
40 public function setAsset($asset) argument
42 $this->asset = $asset;
49 return $this->asset;
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Asset/Iterator/
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];

1234