Exemple #1
0
	/**
	 * Register plugin hooks
	 * @static
	 */
	public static function __static()
	{
		Pluggable::load_hooks('Post');
	}
Exemple #2
0
 /**
  * Register plugin hooks
  * @static
  */
 public static function __static()
 {
     Pluggable::load_hooks(__CLASS__);
 }
Exemple #3
0
 /**
  * Allow plugins to register StackItems that can be added to Stacks later
  * Initialize this class for plugin behavior so it can add system default StackItems
  */
 public static function load_stackitems()
 {
     Pluggable::load_hooks(__CLASS__);
     Plugins::act('register_stackitems');
 }
Exemple #4
0
 /**
  * Register plugin hooks
  * @static
  */
 public static function __static()
 {
     Pluggable::load_hooks('Comment');
 }
Exemple #5
0
 /**
  * Register plugin hooks
  * @static
  */
 public static function __static()
 {
     Pluggable::load_hooks(get_called_class());
 }