Esempio n. 1
0
 /**
  * Call this inside callback function to indicate that default action in main code
  * shouldn't happen after hook call returns (applies just to some hooks, mainly in services)
  *
  * @return void
  */
 public static function prevent_default()
 {
     self::$do_default = false;
 }