public function params() { if (isset($this->params['from']) && isset($this->params['fromid'])) { $this->log("Both 'from' and 'fromid' parameters specified - " . "the wiki might ignore the 'from'", LL_DEBUG); } return parent::params(); }
protected function split_paramvalue_on_pipes($name) { if ($name == 'text' || $name == 'prependtext' || $name == 'appendtext') { return false; } else { return parent::split_paramvalue_on_pipes($name); } }
public function nohooks__set_param($hook_object, $name, $value) { if (is_array($value)) { $protequals = array(); foreach ($value as $protection => $level) { if (is_numeric($protection)) { $protequals[] = $level; } else { $protequals[] = $protection . "=" . $level; } } $value = implode('|', $protequals); } return parent::nohooks__set_param($hook_object, $name, $value); }
function __construct($exchanger, $info, $setparams, $modulename) { parent::__construct($exchanger, $info, $setparams); $this->modulename = $modulename; }
public function nohooks__next($hook_object) { if ($this->is_exhausted()) { return false; } $this->restore_params(); $this->set_continue_params(); return parent::nohooks__xfer($hook_object); }