Lines Matching defs:state
242 * Return the default state plugins would have in animals
260 $plugins[$one] = true; // default state is enabled
270 * Return a structure giving detailed info about the state of all plugins in an animal
298 * Set the state of a plugin in an animal
302 * @param int $state -1 = default, 1 = enabled, 0 = disabled
304 public function setPluginState($plugin, $animal, $state)
306 $state = (int) $state;
309 if ($state < 0) {
312 $plugins[$plugin] = $state;
317 // clear state cache
324 * updates the plugin state cache