[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
Joomla! Content Management System
Copyright: | (C) 2006 Open Source Matters, Inc. |
License: | GNU General Public License version 2 or later; see LICENSE.txt |
File Size: | 243 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
PopupButton:: (5 methods):
prepareOptions()
fetchButton()
renderButton()
_getCommand()
getAccessors()
Class: PopupButton - X-Ref
Renders a modal window buttonprepareOptions(array &$options) X-Ref |
Prepare options for this button. param: array $options The options about this button. return: void |
fetchButton($type = 'Modal',$name = '',$text = '',$url = '',$iframeWidth = 640,$iframeHeight = 480,$bodyHeight = null,$modalWidth = null,$onClose = '',$title = '',$footer = null) X-Ref |
Fetch the HTML for the button param: string $type Unused string, formerly button type. param: string $name Modal name, used to generate element ID param: string $text The link text param: string $url URL for popup param: integer $iframeWidth Width of popup param: integer $iframeHeight Height of popup param: integer $bodyHeight Optional height of the modal body in viewport units (vh) param: integer $modalWidth Optional width of the modal in viewport units (vh) param: string $onClose JavaScript for the onClose event. param: string $title The title text param: string $footer The footer html return: string HTML string for the button |
renderButton(array &$options) X-Ref |
Render button HTML. param: array $options The button options. return: string The button HTML. |
_getCommand($url) X-Ref |
Get the JavaScript command for the button param: string $url URL for popup return: string JavaScript command string |
getAccessors() X-Ref |
Method to configure available option accessors. return: array |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |