| [ Index ] |
PHP Cross Reference of WordPress |
[Source view] [Print] [Project Stats]
BackPress Scripts enqueue. These classes were refactored from the WordPress WP_Scripts and WordPress script enqueue API.
| File Size: | 258 lines (7 kb) |
| Included or required: | 1 time |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
Class: WP_Dependencies - X-Ref
BackPress enqueued dependiences class.| do_items( $handles = false, $group = false ) X-Ref |
| Do the dependencies Process the items passed to it or the queue. Processes all dependencies. param: mixed $handles (optional) items to be processed. (void) processes queue, (string) process that item, (array of strings) process those items return: array Items that have been processed |
| do_item( $handle ) X-Ref |
| No description |
| all_deps( $handles, $recursion = false, $group = false ) X-Ref |
| Determines dependencies Recursively builds array of items to process taking dependencies into account. Does NOT catch infinite loops. param: mixed $handles Accepts (string) dep name or (array of strings) dep names param: bool $recursion Used internally when function calls itself |
| add( $handle, $src, $deps = array() X-Ref |
| Adds item Adds the item only if no item of that name already exists param: string $handle Script name param: string $src Script url param: array $deps (optional) Array of script names on which this script depends param: string $ver (optional) Script version (used for cache busting) return: array Hierarchical array of dependencies |
| add_data( $handle, $key, $value ) X-Ref |
| Adds extra data Adds data only if script has already been added. param: string $handle Script name param: string $key param: mixed $value return: bool success |
| get_data( $handle, $key ) X-Ref |
| Get extra data Gets data associated with a certain handle. param: string $handle Script name param: string $key return: mixed |
| remove( $handles ) X-Ref |
| No description |
| enqueue( $handles ) X-Ref |
| No description |
| dequeue( $handles ) X-Ref |
| No description |
| query( $handle, $list = 'registered' ) X-Ref |
| No description |
| set_group( $handle, $recursion, $group ) X-Ref |
| No description |
Class: _WP_Dependency - X-Ref
| Generated: Fri May 25 03:56:23 2012 | Hosted by follow the white rabbit. |