Lines Matching refs:this
47 $this->filters = new FilterCollection($filters);
48 $this->sourceRoot = $sourceRoot;
49 $this->sourcePath = $sourcePath;
51 $this->sourceDir = dirname("$sourceRoot/$sourcePath");
53 $this->vars = $vars;
54 $this->values = array();
55 $this->loaded = false;
60 $this->filters = clone $this->filters;
65 $this->filters->ensure($filter);
70 return $this->filters->all();
75 $this->filters->clear();
86 $filter = clone $this->filters;
91 $asset = clone $this;
95 $this->content = $asset->getContent();
97 $this->loaded = true;
102 if (!$this->loaded) {
103 $this->load();
106 $filter = clone $this->filters;
111 $asset = clone $this;
119 return $this->content;
124 $this->content = $content;
129 return $this->sourceRoot;
134 return $this->sourcePath;
139 return $this->sourceDir;
144 return $this->targetPath;
149 if ($this->vars) {
150 foreach ($this->vars as $var) {
157 $this->targetPath = $targetPath;
162 return $this->vars;
168 if (!in_array($var, $this->vars, true)) {
169 …n(sprintf('The asset with source path "%s" has no variable named "%s".', $this->sourcePath, $var));
173 $this->values = $values;
174 $this->loaded = false;
179 return $this->values;