includes/wikiformat.php
changeset 1108 c1be67a50d81
parent 1106 01315acbc22b
child 1127 4b858862c35c
equal deleted inserted replaced
1107:2d37a11fabd8 1108:c1be67a50d81
   314     }
   314     }
   315     return null;
   315     return null;
   316   }
   316   }
   317   
   317   
   318   /**
   318   /**
       
   319    * Disables all rules.
       
   320    * @return null
       
   321    */
       
   322   
       
   323   public function disable_all_rules()
       
   324   {
       
   325     $this->rules = array();
       
   326     return null;
       
   327   }
       
   328   
       
   329   /**
       
   330    * Enables a rule
       
   331    * @param string rule
       
   332    * @return null
       
   333    */
       
   334    
       
   335   public function enable_rule($rule)
       
   336   {
       
   337     $this->rules[] = $rule;
       
   338     return null;
       
   339   }
       
   340   
       
   341   /**
   319    * Make a rule exclusive (the only one called)
   342    * Make a rule exclusive (the only one called)
   320    * @param string stage
   343    * @param string stage
   321    * @return null
   344    * @return null
   322    */
   345    */
   323   
   346