PHP Class View_Popover, atk4

Inheritance: extends View
Show file Open project: atk4/atk4

Public Properties

Property Type Description
$pop_class string
$position Popover position can be top, bottom, left or right
$url string

Public Methods

Method Description
addClass ( string $class )
init ( ) Initialization.
set ( callable $fx ) If callable is passed, it will be executed when the dialog is popped through the use of VirtualPage.
setURL ( string $url ) Specify URL here and it will be automatically loaded in the popover every time it's shown.
showJS ( array $options = null, array $options_compat = [] ) : jQuery_Chain Returns JS which will position this element and show it.

Method Details

addClass() public method

public addClass ( string $class )
$class string

init() public method

Initialization.
public init ( )

set() public method

If callable is passed, it will be executed when the dialog is popped through the use of VirtualPage.
public set ( callable $fx )
$fx callable

setURL() public method

Specify URL here and it will be automatically loaded in the popover every time it's shown.
public setURL ( string $url )
$url string

showJS() public method

Returns JS which will position this element and show it.
public showJS ( array $options = null, array $options_compat = [] ) : jQuery_Chain
$options array
$options_compat array Deprecated options
return jQuery_Chain

Property Details

$pop_class public property

public string $pop_class
return string

$position public property

Popover position can be top, bottom, left or right
public $position

$url public property

public string $url
return string