PHP 클래스 phpQueryEvents, microweber

저자: Tobiasz Cudnik
파일 보기 프로젝트 열기: microweber/microweber 1 사용 예제들

공개 메소드들

메소드 설명
add ( DOMNode | phpQueryObject | string $document, $node, unknown_type $type, unknown_type $data, unknown_type $callback = null ) Binds a handler to one or more events (like click) for each matched element.
remove ( DOMNode | phpQueryObject | string $document, $node, unknown_type $type = null, unknown_type $callback = null ) Enter description here.
trigger ( DOMNode | phpQueryObject | string $document, unknown_type $type, unknown_type $data = [], $node = null ) Trigger a type of event on every matched element.

보호된 메소드들

메소드 설명
getNode ( $documentID, $node )
issetGlobal ( $documentID, $type )
setNode ( $documentID, $node )

메소드 상세

add() 공개 정적인 메소드

Can also bind custom events.
public static add ( DOMNode | phpQueryObject | string $document, $node, unknown_type $type, unknown_type $data, unknown_type $callback = null )
$document DOMNode | phpQueryObject | string
$type unknown_type
$data unknown_type Optional
$callback unknown_type

getNode() 보호된 정적인 메소드

protected static getNode ( $documentID, $node )

issetGlobal() 보호된 정적인 메소드

protected static issetGlobal ( $documentID, $type )

remove() 공개 정적인 메소드

..
public static remove ( DOMNode | phpQueryObject | string $document, $node, unknown_type $type = null, unknown_type $callback = null )
$document DOMNode | phpQueryObject | string
$type unknown_type
$callback unknown_type

setNode() 보호된 정적인 메소드

protected static setNode ( $documentID, $node )

trigger() 공개 정적인 메소드

Trigger a type of event on every matched element.
public static trigger ( DOMNode | phpQueryObject | string $document, unknown_type $type, unknown_type $data = [], $node = null )
$document DOMNode | phpQueryObject | string
$type unknown_type
$data unknown_type