includes/wikiformat.php
changeset 1054 e6b14d33ac55
parent 1031 8a4b75e73137
child 1073 b19a9bcb6a45
equal deleted inserted replaced
1053:bdbb49cf6f1b 1054:e6b14d33ac55
   308     }
   308     }
   309     return null;
   309     return null;
   310   }
   310   }
   311   
   311   
   312   /**
   312   /**
       
   313    * Make a rule exclusive (the only one called)
       
   314    * @param string stage
       
   315    * @return null
       
   316    */
       
   317   
       
   318   public function exclusive_rule($rule)
       
   319   {
       
   320     if ( is_string($rule) )
       
   321       $this->rules = array($rule);
       
   322     
       
   323     return null;
       
   324   }
       
   325   
       
   326   /**
   313    * Generate a token
   327    * Generate a token
   314    * @param int Token index
   328    * @param int Token index
   315    * @return string
   329    * @return string
   316    * @static
   330    * @static
   317    */
   331    */