Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/03/2016 06:14:41 AM (8 years ago)
Author:
tw2113
Message:

More cleanup and new phpdocs for functions or methods in the XProfile component.

See #6406.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-xprofile/classes/class-bp-xprofile-query.php

    r10417 r10434  
    2424     *
    2525     * @since 2.2.0
    26      * @var    array
     26     * @var array
    2727     */
    2828    public $queries = array();
     
    3232     *
    3333     * @since 2.2.0
    34      * @var    string
     34     * @var string
    3535     */
    3636    public $primary_table;
     
    4040     *
    4141     * @since 2.2.0
    42      * @var    string
     42     * @var string
    4343     */
    4444    public $primary_id_column;
     
    4848     *
    4949     * @since 2.2.0
    50      * @var    array
     50     * @var array
    5151     */
    5252    protected $table_aliases = array();
     
    9393     *
    9494     * @param array $queries Array of query clauses.
    95      *
    9695     * @return array Sanitized array of query clauses.
    9796     */
     
    160159     *
    161160     * @param  array $query XProfile query arguments.
    162      *
    163161     * @return bool  Whether the query clause is a first-order clause.
    164162     */
     
    173171     *
    174172     * @param string $type MySQL type to cast `value`.
    175      *
    176173     * @return string MySQL type.
    177174     */
     
    231228     * @since 2.2.0
    232229     *
    233      * @param  array $query Query to parse.
     230     * @param  array $query Query to parse. Passed by reference.
    234231     * @param  int   $depth Optional. Number of tree levels deep we currently are. Used to calculate indentation.
    235      *
    236232     * @return array {
    237233     *     Array containing JOIN and WHERE SQL clauses to append to a single query array.
     
    314310     * @param string $primary_table     Database table where the object being filtered is stored (eg wp_users).
    315311     * @param string $primary_id_column ID column for the filtered object in $primary_table.
    316      *
    317312     * @return array {
    318313     *     Array containing JOIN and WHERE SQL clauses to append to the main query.
     
    349344     * @param array $clause       Query clause.
    350345     * @param array $parent_query Parent query array.
    351      *
    352346     * @return array {
    353347     *     Array containing JOIN and WHERE SQL clauses to append to a first-order query.
     
    499493     * @param array $clause       Query clause.
    500494     * @param array $parent_query Parent query of $clause.
    501      *
    502495     * @return string|bool Table alias if found, otherwise false.
    503496     */
Note: See TracChangeset for help on using the changeset viewer.