Lines Matching refs:animal
51 protected $animal = false; variable in DokuWikiFarmCore
74 define('DOKU_FARM_ANIMAL', $this->animal);
75 if ($this->animal) {
76 define('DOKU_CONF', DOKU_FARMDIR . $this->animal . '/conf/');
98 return $this->animal;
139 * @param mixed $animal the animal name
142 protected function setAnimal($animal) argument
147 if (!is_string($animal) || strpbrk($animal, '\\/') !== false) {
151 $animal = strtolower($animal);
154 if (is_dir("$farmdir/$animal/conf")) {
155 $this->animal = $animal;
177 $animal = $params['animal'];
182 return $this->setAnimal($animal);
198 $animal = $matches[2];
201 return $this->setAnimal($animal);
215 foreach ($possible as $animal) {
216 if ($this->setAnimal($animal)) {
456 if (!$this->animal) return;