equal
deleted
inserted
replaced
289 'rule' => $rule |
289 'rule' => $rule |
290 ); |
290 ); |
291 } |
291 } |
292 |
292 |
293 /** |
293 /** |
|
294 * Disable a render stage |
|
295 * @param string stage |
|
296 * @return null |
|
297 */ |
|
298 |
|
299 public function disable_rule($rule) |
|
300 { |
|
301 foreach ( $this->rules as $i => $current_rule ) |
|
302 { |
|
303 if ( $current_rule === $rule ) |
|
304 { |
|
305 unset($this->rules[$i]); |
|
306 return null; |
|
307 } |
|
308 } |
|
309 return null; |
|
310 } |
|
311 |
|
312 /** |
294 * Generate a token |
313 * Generate a token |
295 * @param int Token index |
314 * @param int Token index |
296 * @return string |
315 * @return string |
297 * @static |
316 * @static |
298 */ |
317 */ |