Exemple #1
0
 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();
 }
Exemple #2
0
 protected function split_paramvalue_on_pipes($name)
 {
     if ($name == 'text' || $name == 'prependtext' || $name == 'appendtext') {
         return false;
     } else {
         return parent::split_paramvalue_on_pipes($name);
     }
 }
Exemple #3
0
 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);
 }
Exemple #4
0
 function __construct($exchanger, $info, $setparams, $modulename)
 {
     parent::__construct($exchanger, $info, $setparams);
     $this->modulename = $modulename;
 }
Exemple #5
0
 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);
 }