/** * Ensures a modal GET variable is retained through redirects, when appropriate * */ function _hookSessionRedirectModal(HookEvent $event) { $url = $event->arguments(0); if (strpos($url, 'modal=1') === false && strpos($url, '://') === false) { $url .= (strpos($url, '?') === false ? '?' : '&') . 'modal=1'; $event->arguments(0, $url); } }
/** * Change the default prev/next links for MarkupPagerNav * */ function hookMarkupPagerNavRender(HookEvent $event) { $options = $event->arguments(1); if (!isset($options['nextItemLabel'])) { $options['nextItemLabel'] = "<i class='fa fa-angle-right'></i>"; $options['previousItemLabel'] = "<i class='fa fa-angle-left'></i>"; $options['separatorItemLabel'] = "<span class='detail'>…</span>"; $event->arguments(1, $options); } }
/** * Construct */ protected function __construct() { parent::__construct('HookNotificationTitle'); }
/** * Constructor */ protected function __construct() { parent::__construct('HookAdminBlock'); }
/** * Construct */ protected function __construct() { parent::__construct('HookNotificationContent'); }
/** * Constructor */ public function __construct() { parent::__construct('HookUpdateUser'); }
/** * Constructor */ protected function __construct() { parent::__construct('HookResubscribe'); }
/** * Constructor */ protected function __construct() { parent::__construct('HookCreateUser'); }
/** * Constructor */ protected function __construct() { parent::__construct('HookEventSkype'); }
/** * Construct */ protected function __construct() { parent::__construct('HookWSRegistration'); }