Exemplo n.º 1
0
	/**
	 * Register plugin hooks
	 * @static
	 */
	public static function __static()
	{
		Pluggable::load_hooks('Post');
	}
Exemplo n.º 2
0
 /**
  * Register plugin hooks
  * @static
  */
 public static function __static()
 {
     Pluggable::load_hooks(__CLASS__);
 }
Exemplo n.º 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');
 }
Exemplo n.º 4
0
 /**
  * Register plugin hooks
  * @static
  */
 public static function __static()
 {
     Pluggable::load_hooks('Comment');
 }
Exemplo n.º 5
0
 /**
  * Register plugin hooks
  * @static
  */
 public static function __static()
 {
     Pluggable::load_hooks(get_called_class());
 }