Lines Matching refs:this
53 $this->_baseDir = $baseDirs;
55 foreach ($this->_baseDir as $dir) {
64 $this->_extension = '.' . ltrim($options['extension'], '.');
68 $this->_prefix = $options['prefix'];
85 if (!isset($this->_templates[$name])) {
86 $this->_templates[$name] = $this->loadFile($name);
89 return new HandlebarsString($this->_templates[$name]);
102 $fileName = $this->getFileName($name);
120 foreach ($this->_baseDir as $baseDir) {
125 if (substr($file, strlen($this->_prefix)) !== $this->_prefix) {
126 $file = $this->_prefix . $file;
131 $lastCharacters = substr($fileName, 0 - strlen($this->_extension));
133 if ($lastCharacters !== $this->_extension) {
134 $fileName .= $this->_extension;