Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class.wp-dependencies.php

    r12558 r16469  
    3838     * Process the items passed to it or the queue.  Processes all dependencies.
    3939     *
    40      * @param mixed handles (optional) items to be processed. (void) processes queue, (string) process that item, (array of strings) process those items
     40     * @param mixed $handles (optional) items to be processed. (void) processes queue, (string) process that item, (array of strings) process those items
    4141     * @return array Items that have been processed
    4242     */
    4343    function do_items( $handles = false, $group = false ) {
    44         // Print the queue if nothing is passed.  If a string is passed, print that script. If an array is passed, print those scripts.
     44        // Print the queue if nothing is passed. If a string is passed, print that script. If an array is passed, print those scripts.
    4545        $handles = false === $handles ? $this->queue : (array) $handles;
    4646        $this->all_deps( $handles );
     
    7373     * Recursively builds array of items to process taking dependencies into account.  Does NOT catch infinite loops.
    7474     *
    75 
    76      * @param mixed handles Accepts (string) dep name or (array of strings) dep names
    77      * @param bool recursion Used internally when function calls itself
     75     *
     76     * @param mixed $handles Accepts (string) dep name or (array of strings) dep names
     77     * @param bool $recursion Used internally when function calls itself
    7878     */
    7979    function all_deps( $handles, $recursion = false, $group = false ) {
     
    126126     * Adds the item only if no item of that name already exists
    127127     *
    128      * @param string handle Script name
    129      * @param string src Script url
    130      * @param array deps (optional) Array of script names on which this script depends
    131      * @param string ver (optional) Script version (used for cache busting)
     128     * @param string $handle Script name
     129     * @param string $src Script url
     130     * @param array $deps (optional) Array of script names on which this script depends
     131     * @param string $ver (optional) Script version (used for cache busting)
    132132     * @return array Hierarchical array of dependencies
    133133     */
     
    144144     * Adds data only if script has already been added
    145145     *
    146      * @param string handle Script name
    147      * @param string data_name Name of object in which to store extra data
    148      * @param array data Array of extra data
     146     * @param string $handle Script name
     147     * @param string $data_name Name of object in which to store extra data
     148     * @param array $data Array of extra data
    149149     * @return bool success
    150150     */
Note: See TracChangeset for help on using the changeset viewer.