PHP 클래스 CI_Jquery, TastyIgniter

저자: EllisLab Dev Team
상속: extends CI_Javascript
파일 보기 프로젝트 열기: tastyigniter/tastyigniter

공개 프로퍼티들

프로퍼티 타입 설명
$jquery_ajax_img string JQuery AJAX image
$jquery_code_for_compile array JQuery code for compile
$jquery_code_for_load array JQuery code for load
$jquery_corner_active boolean JQuery corner active flag
$jquery_table_sorter_active boolean JQuery table sorter active flag
$jquery_table_sorter_pager_active boolean JQuery table sorter pager active

보호된 프로퍼티들

프로퍼티 타입 설명
$_javascript_folder string JavaScript directory location

공개 메소드들

메소드 설명
__construct ( array $params ) : void Constructor
corner ( string $element = '', string $corner_style = '' ) : string Corner Plugin
effect ( string $src, boolean $relative = FALSE ) : void Effect
modal ( string $src, boolean $relative = FALSE ) : void Modal window
plugin ( string $src, boolean $relative = FALSE ) : void Plugin
script ( string $library_src = '', boolean $relative = FALSE ) : string Script Tag
sortable ( string $element, array $options = [] ) : string Sortable
tablesorter ( $table = '', $options = '' ) : string Table Sorter Plugin
ui ( string $src, boolean $relative = FALSE ) : void UI

보호된 메소드들

메소드 설명
_addClass ( string $element = 'this', string $class = '' ) : string Add Class
_add_event ( $element, $js, $event ) : string Add Event
_animate ( string $element = 'this', array $params = [], string $speed = '', string $extra = '' ) : string Animate
_blur ( $element = 'this', $js = '' ) : string Blur
_change ( $element = 'this', $js = '' ) : string Change
_clear_compile ( ) : void Clear Compile
_click ( $element = 'this', $js = '', $ret_false = TRUE ) : string Click
_compile ( string $view_var = 'script_foot', boolean $script_tags = TRUE ) : void Compile
_dblclick ( $element = 'this', $js = '' ) : string Double Click
_document_ready ( array $js ) : void Document Ready
_error ( $element = 'this', $js = '' ) : string Error
_fadeIn ( $element = 'this', $speed = '', $callback = '' ) : string Fade In
_fadeOut ( $element = 'this', $speed = '', $callback = '' ) : string Fade Out
_focus ( $element = 'this', $js = '' ) : string Focus
_hide ( $element = 'this', $speed = '', $callback = '' ) : string Hide
_hover ( $element = 'this', $over = '', $out = '' ) : string Hover
_keydown ( $element = 'this', $js = '' ) : string Keydown
_keyup ( $element = 'this', $js = '' ) : string Keyup
_load ( $element = 'this', $js = '' ) : string Load
_mousedown ( $element = 'this', $js = '' ) : string Mousedown
_mouseout ( $element = 'this', $js = '' ) : string Mouse Out
_mouseover ( $element = 'this', $js = '' ) : string Mouse Over
_mouseup ( $element = 'this', $js = '' ) : string Mouseup
_output ( array $array_js = [] ) : void Output
_prep_element ( $element ) : string Prep Element
_removeClass ( string $element = 'this', string $class = '' ) : string Remove Class
_resize ( $element = 'this', $js = '' ) : string Resize
_scroll ( $element = 'this', $js = '' ) : string Scroll
_show ( $element = 'this', $speed = '', $callback = '' ) : string Show
_slideDown ( $element = 'this', $speed = '', $callback = '' ) : string Slide Down
_slideToggle ( $element = 'this', $speed = '', $callback = '' ) : string Slide Toggle
_slideUp ( $element = 'this', $speed = '', $callback = '' ) : string Slide Up
_toggle ( $element = 'this' ) : string Toggle
_toggleClass ( string $element = 'this', string $class = '' ) : string Toggle Class
_unload ( $element = 'this', $js = '' ) : string Unload
_updater ( $container = 'this', $controller = '', $options = '' ) : string Updater
_validate_speed ( $speed ) : string Validate Speed
_zebraTables ( string $class = '', string $odd = 'odd', string $hover = '' ) : string Zebra tables

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( array $params ) : void
$params array
리턴 void

_addClass() 보호된 메소드

Outputs a jQuery addClass event
protected _addClass ( string $element = 'this', string $class = '' ) : string
$element string
$class string
리턴 string

_add_event() 보호된 메소드

Constructs the syntax for an event, and adds to into the array for compilation
protected _add_event ( $element, $js, $event ) : string
리턴 string

_animate() 보호된 메소드

Outputs a jQuery animate event
protected _animate ( string $element = 'this', array $params = [], string $speed = '', string $extra = '' ) : string
$element string
$params array
$speed string 'slow', 'normal', 'fast', or time in milliseconds
$extra string
리턴 string

_blur() 보호된 메소드

Outputs a jQuery blur event
protected _blur ( $element = 'this', $js = '' ) : string
리턴 string

_change() 보호된 메소드

Outputs a jQuery change event
protected _change ( $element = 'this', $js = '' ) : string
리턴 string

_clear_compile() 보호된 메소드

Clears the array of script events collected for output
protected _clear_compile ( ) : void
리턴 void

_click() 보호된 메소드

Outputs a jQuery click event
protected _click ( $element = 'this', $js = '', $ret_false = TRUE ) : string
리턴 string

_compile() 보호된 메소드

As events are specified, they are stored in an array This function compiles them all for output on a page
protected _compile ( string $view_var = 'script_foot', boolean $script_tags = TRUE ) : void
$view_var string
$script_tags boolean
리턴 void

_dblclick() 보호된 메소드

Outputs a jQuery dblclick event
protected _dblclick ( $element = 'this', $js = '' ) : string
리턴 string

_document_ready() 보호된 메소드

A wrapper for writing document.ready()
protected _document_ready ( array $js ) : void
$js array
리턴 void

_error() 보호된 메소드

Outputs a jQuery error event
protected _error ( $element = 'this', $js = '' ) : string
리턴 string

_fadeIn() 보호된 메소드

Outputs a jQuery hide event
protected _fadeIn ( $element = 'this', $speed = '', $callback = '' ) : string
리턴 string

_fadeOut() 보호된 메소드

Outputs a jQuery hide event
protected _fadeOut ( $element = 'this', $speed = '', $callback = '' ) : string
리턴 string

_focus() 보호된 메소드

Outputs a jQuery focus event
protected _focus ( $element = 'this', $js = '' ) : string
리턴 string

_hide() 보호된 메소드

Outputs a jQuery hide action
protected _hide ( $element = 'this', $speed = '', $callback = '' ) : string
리턴 string

_hover() 보호된 메소드

Outputs a jQuery hover event
protected _hover ( $element = 'this', $over = '', $out = '' ) : string
리턴 string

_keydown() 보호된 메소드

Outputs a jQuery keydown event
protected _keydown ( $element = 'this', $js = '' ) : string
리턴 string

_keyup() 보호된 메소드

Outputs a jQuery keydown event
protected _keyup ( $element = 'this', $js = '' ) : string
리턴 string

_load() 보호된 메소드

Outputs a jQuery load event
protected _load ( $element = 'this', $js = '' ) : string
리턴 string

_mousedown() 보호된 메소드

Outputs a jQuery mousedown event
protected _mousedown ( $element = 'this', $js = '' ) : string
리턴 string

_mouseout() 보호된 메소드

Outputs a jQuery mouseout event
protected _mouseout ( $element = 'this', $js = '' ) : string
리턴 string

_mouseover() 보호된 메소드

Outputs a jQuery mouseover event
protected _mouseover ( $element = 'this', $js = '' ) : string
리턴 string

_mouseup() 보호된 메소드

Outputs a jQuery mouseup event
protected _mouseup ( $element = 'this', $js = '' ) : string
리턴 string

_output() 보호된 메소드

Outputs script directly
protected _output ( array $array_js = [] ) : void
$array_js array = array()
리턴 void

_prep_element() 보호된 메소드

Puts HTML element in quotes for use in jQuery code unless the supplied element is the Javascript 'this' object, in which case no quotes are added
protected _prep_element ( $element ) : string
리턴 string

_removeClass() 보호된 메소드

Outputs a jQuery remove class event
protected _removeClass ( string $element = 'this', string $class = '' ) : string
$element string
$class string
리턴 string

_resize() 보호된 메소드

Outputs a jQuery resize event
protected _resize ( $element = 'this', $js = '' ) : string
리턴 string

_scroll() 보호된 메소드

Outputs a jQuery scroll event
protected _scroll ( $element = 'this', $js = '' ) : string
리턴 string

_show() 보호된 메소드

Outputs a jQuery show event
protected _show ( $element = 'this', $speed = '', $callback = '' ) : string
리턴 string

_slideDown() 보호된 메소드

Outputs a jQuery slideDown event
protected _slideDown ( $element = 'this', $speed = '', $callback = '' ) : string
리턴 string

_slideToggle() 보호된 메소드

Outputs a jQuery slideToggle event
protected _slideToggle ( $element = 'this', $speed = '', $callback = '' ) : string
리턴 string

_slideUp() 보호된 메소드

Outputs a jQuery slideUp event
protected _slideUp ( $element = 'this', $speed = '', $callback = '' ) : string
리턴 string

_toggle() 보호된 메소드

Outputs a jQuery toggle event
protected _toggle ( $element = 'this' ) : string
리턴 string

_toggleClass() 보호된 메소드

Outputs a jQuery toggle class event
protected _toggleClass ( string $element = 'this', string $class = '' ) : string
$element string
$class string
리턴 string

_unload() 보호된 메소드

Outputs a jQuery unload event
protected _unload ( $element = 'this', $js = '' ) : string
리턴 string

_updater() 보호된 메소드

An Ajax call that populates the designated DOM node with returned content
protected _updater ( $container = 'this', $controller = '', $options = '' ) : string
리턴 string

_validate_speed() 보호된 메소드

Ensures the speed parameter is valid for jQuery
protected _validate_speed ( $speed ) : string
리턴 string

_zebraTables() 보호된 메소드

Zebra tables
protected _zebraTables ( string $class = '', string $odd = 'odd', string $hover = '' ) : string
$class string
$odd string
$hover string
리턴 string

corner() 공개 메소드

Corner Plugin
public corner ( string $element = '', string $corner_style = '' ) : string
$element string
$corner_style string
리턴 string

effect() 공개 메소드

Load an Effect library
public effect ( string $src, boolean $relative = FALSE ) : void
$src string
$relative boolean
리턴 void

modal() 공개 메소드

Load a thickbox modal window
public modal ( string $src, boolean $relative = FALSE ) : void
$src string
$relative boolean
리턴 void

plugin() 공개 메소드

Load a plugin library
public plugin ( string $src, boolean $relative = FALSE ) : void
$src string
$relative boolean
리턴 void

script() 공개 메소드

Outputs the script tag that loads the jquery.js file into an HTML document
public script ( string $library_src = '', boolean $relative = FALSE ) : string
$library_src string
$relative boolean
리턴 string

sortable() 공개 메소드

Creates a jQuery sortable
public sortable ( string $element, array $options = [] ) : string
$element string
$options array
리턴 string

tablesorter() 공개 메소드

Table Sorter Plugin
public tablesorter ( $table = '', $options = '' ) : string
리턴 string

ui() 공개 메소드

Load a user interface library
public ui ( string $src, boolean $relative = FALSE ) : void
$src string
$relative boolean
리턴 void

프로퍼티 상세

$_javascript_folder 보호되어 있는 프로퍼티

JavaScript directory location
protected string $_javascript_folder
리턴 string

$jquery_ajax_img 공개적으로 프로퍼티

JQuery AJAX image
public string $jquery_ajax_img
리턴 string

$jquery_code_for_compile 공개적으로 프로퍼티

JQuery code for compile
public array $jquery_code_for_compile
리턴 array

$jquery_code_for_load 공개적으로 프로퍼티

JQuery code for load
public array $jquery_code_for_load
리턴 array

$jquery_corner_active 공개적으로 프로퍼티

JQuery corner active flag
public bool $jquery_corner_active
리턴 boolean

$jquery_table_sorter_active 공개적으로 프로퍼티

JQuery table sorter active flag
public bool $jquery_table_sorter_active
리턴 boolean

$jquery_table_sorter_pager_active 공개적으로 프로퍼티

JQuery table sorter pager active
public bool $jquery_table_sorter_pager_active
리턴 boolean