Метод |
Описание |
|
__call ( string $name, mixed $arguments ) |
Call any jQuery library method |
|
__get ( string $property ) |
This enables you to have syntax like this: |
|
__toString ( ) : string |
Converting this object into string will produce JavaScript code |
|
_css ( string $file ) |
Specify requirement for stylesheet. Will load dynamically. |
|
_enclose ( jQuery_Chain $fn = null, boolean $preventDefault = false ) |
Chain will not be called but will return callable function instead. |
|
_fn ( string $name, array $arguments = [] ) |
Convert reserved words or used methods into js calls, such as "execute" |
|
_library ( string $library ) |
Allows to chain calls on different library. |
|
_load ( string $file ) |
Specify requirement for extra javascript include. Will load dynamically. |
|
_prepend ( array | string $code ) |
Execute more JavaScript code before chain. Avoid using. |
|
_render ( ) : string |
Render and return js chain as string |
|
_safe_js_string ( string $str ) : string |
[private] used by custom json_encoding |
|
_selector ( mixed $selector = null ) |
Chain binds to parent object by default. Use this to use other selector $('selector') |
|
_selectorDocument ( ) |
Use this to bind chain to document $(document). |
|
_selectorRegion ( ) |
Use this to bind chain to "region" $(region). Region is defined by ATK when reloading. |
|
_selectorThis ( ) |
Use this to bind chain to "this" $(this). |
|
_selectorWindow ( ) |
Use this to bind chain to window $(window). |
|
debug ( ) |
Enable debug mode |
|
each ( ) |
Some methods shouldn't be special! |
|
execute ( ) |
Send chain in response to form submit, button click or ajaxec() function for AJAX control output. |
|
getLink ( string $text ) : string |
Returns HTML for a link with text $text. When clicked will execute this chain. |
|
getString ( ) : string |
Returns js chain as string |
|
redirect ( string $page = null, array $arg = [] ) |
Calls real redirect (from univ), but accepts page name. |
|
reload ( array $arg = [], jQuery_Chain $fn = null, string $url = null, integer $interval = null ) |
Reload object. |
|
univ ( ) |
Prevents calling univ() multiple times. |
|