Lines Matching refs:this

41         $this->factory = $factory;
42 $this->loaders = array();
43 $this->resources = array();
44 $this->formulae = array();
45 $this->loaded = false;
46 $this->loading = false;
49 $this->setLoader($alias, $loader);
61 $this->loaders[$alias] = $loader;
62 $this->loaded = false;
73 $this->resources[$loader][] = $resource;
74 $this->loaded = false;
85 foreach ($this->resources as $r) {
101 if (!$this->loaded) {
102 $this->load();
105 return isset($this->formulae[$name]);
119 if (!$this->loaded) {
120 $this->load();
123 if (!isset($this->formulae[$name])) {
127 return $this->formulae[$name];
138 $this->formulae[$name] = $formula;
148 if ($this->loading) {
152 if ($diff = array_diff(array_keys($this->resources), array_keys($this->loaders))) {
156 $this->loading = true;
158 foreach ($this->resources as $loader => $resources) {
160 … $this->formulae = array_replace($this->formulae, $this->loaders[$loader]->load($resource));
164 $this->loaded = true;
165 $this->loading = false;
170 if (!$this->loaded) {
171 $this->load();
174 if (!parent::has($name) && isset($this->formulae[$name])) {
175 list($inputs, $filters, $options) = $this->formulae[$name];
177 parent::set($name, $this->factory->createAsset($inputs, $filters, $options));
185 if (!$this->loaded) {
186 $this->load();
189 return isset($this->formulae[$name]) || parent::has($name);
194 if (!$this->loaded) {
195 $this->load();
198 return array_unique(array_merge(parent::getNames(), array_keys($this->formulae)));
203 return $this->factory->isDebug();
208 return $this->factory->getLastModified($asset);