/** * Constructor * @param $url string Target URL * @param $name string Name of window to direct (defaults to current window) * @param $specs string Optional set of window specs (see window.open JS reference) */ function RedirectAction($url, $name = '_self', $specs = '') { parent::LinkActionRequest(); $this->_url = $url; $this->_name = $name; $this->_specs = $specs; }
/** * Constructor * @param $targetSelector string Selector for target to receive event. * @param $eventName string Name of Javascript event to trigger. */ function EventAction($targetSelector, $eventName, $options = array()) { parent::LinkActionRequest(); $this->targetSelector = $targetSelector; $this->eventName = $eventName; $this->options = $options; }
/** * Constructor * @param $targetSelector string Selector for target to receive event. * @param $eventName string Name of Javascript event to trigger. */ function __construct($targetSelector, $eventName, $options = array()) { parent::__construct(); $this->targetSelector = $targetSelector; $this->eventName = $eventName; $this->options = $options; }
/** * Constructor * @param $url string Target URL * @param $name string Name of window to direct (defaults to current window) * @param $specs string Optional set of window specs (see window.open JS reference) */ function __construct($url, $name = '_self', $specs = '') { parent::__construct(); $this->_url = $url; $this->_name = $name; $this->_specs = $specs; }
/** * Constructor * @param $type string LINK_ACTION_TYPE_... * @param $url string Target URL * @param $actOn string ID of element to act on */ function AjaxAction($type, $url, $actOn) { parent::LinkActionRequest(); $this->_type = $type; $this->_url = $url; $this->_actOn = $actOn; }
/** * Constructor * @param $title string (optional) The modal title. * @param $titleIcon string (optional) The icon to be used in the modal title bar. * @param $canClose boolean (optional) Whether the modal will have a close button. */ function Modal($title = null, $titleIcon = null, $canClose = true) { parent::LinkActionRequest(); $this->_title = $title; $this->_titleIcon = $titleIcon; $this->_canClose = $canClose; }
/** * Constructor * @param $title string (optional) The localized modal title. * @param $titleIcon string (optional) The icon to be used in the modal title bar. * @param $canClose boolean (optional) Whether the modal will have a close button. * @param $width int (optional) Override the default width of 'auto' * for confirmation modals. Useful for modals that display * large blocks of text. */ function Modal($title = null, $titleIcon = null, $canClose = true, $width = MODAL_WIDTH_DEFAULT) { parent::LinkActionRequest(); $this->_title = $title; $this->_titleIcon = $titleIcon; $this->_canClose = $canClose; $this->_width = $width; }
/** * Constructor * @param $title string (optional) The localized modal title. * @param $titleIcon string (optional) The icon to be used in the modal title bar. * @param $canClose boolean (optional) Whether the modal will have a close button. * @param $width int (optional) Override the default width of 'auto' * for confirmation modals. Useful for modals that display * large blocks of text. */ function Modal($title = null, $titleIcon = null, $canClose = true, $width = MODAL_WIDTH_DEFAULT) { parent::LinkActionRequest(); $this->_title = $title; $this->_titleIcon = $titleIcon; $this->_canClose = $canClose; $this->_width = $width; // @todo this should be customizable via an option $this->_closeButtonText = __('common.closePanel'); }
/** * Constructor */ function NullAction() { parent::LinkActionRequest(); }
/** * Constructor * @param $url string Target URL */ function OpenWindowAction($url) { parent::LinkActionRequest(); $this->_url = $url; }
/** * Constructor * @param $remoteAction string The target URL. * @param $requestType string One of the AJAX_REQUEST_TYPE_* constants. */ function AjaxAction($remoteAction, $requestType = AJAX_REQUEST_TYPE_POST) { parent::LinkActionRequest(); $this->_remoteAction = $remoteAction; $this->_requestType = $requestType; }
/** * Constructor */ function __construct() { parent::__construct(); }
/** * Constructor * @param $url string Target URL */ function RedirectAction($url) { parent::LinkActionRequest(); $this->_url = $url; }
/** * Constructor * @param $url string Target URL */ function __construct($url) { parent::__construct(); $this->_url = $url; }
/** * Constructor * @param $remoteAction string The target URL. * @param $requestType string One of the AJAX_REQUEST_TYPE_* constants. */ function __construct($remoteAction, $requestType = AJAX_REQUEST_TYPE_POST) { parent::__construct(); $this->_remoteAction = $remoteAction; $this->_requestType = $requestType; }