コード例 #1
0
 /**
  * put your comment there...
  * 
  * @param mixed $options
  */
 public static function __init($options = array())
 {
     // Initialize CJTEvents!
     parent::__init($options);
     // Extend all Hookable objects with CJTEvents events!
     $events = new CJTWordpressEvents(__CLASS__, $options, true);
     // Inherits all CJTEvents and CJTWordpressEvents Events to all hookable objects!
     self::$definition->addBaseClass(__CLASS__, array('hookType' => self::HOOK_FILTER));
     return $events;
 }