Свойство | Тип | Описание | |
---|---|---|---|
$action_query | The current action object (edit/delete/custom) | ||
$actions | The actions recognised for the object | ||
$current_media | |||
$format | |||
$in_the_media_loop | |||
$media | |||
$media_count | |||
$media_query | The query arguments for the current instance (variable) | ||
$original_query | |||
$query | The query arguments for the current instance | ||
$shortcode_global |
Метод | Описание | |
---|---|---|
__construct ( array | boolean $args = false ) | Initialise the query | |
album_or_media ( ) | } | |
get_data ( ) : type | ||
get_media_by_media_id ( type $id ) : null | helper method to find the array entry for the given media id | |
get_media_id ( type $media ) : type | helper method to fetch media id of each media from the map | |
get_user ( ) | ||
have_media ( ) : boolean | Checks at any point of time any media is left to be processed in the db pool | |
init ( ) | Initialise the default args for the query | |
is_album ( ) | ||
is_album_gallery ( ) | ||
is_gallery ( ) | ||
is_group_album ( ) | ||
is_playlist ( ) | ||
is_playlist_gallery ( ) | ||
is_single ( ) | ||
is_single_edit ( ) | ||
next_media ( ) : type | helper method for rt_album to move ahead in the db pool | |
order_by ( ) | ||
permalink ( ) | ||
populate_album ( ) | ||
populate_comments ( ) | ||
populate_data ( ) : boolean | populate the data object for the page/album | |
populate_media ( ) | ||
populate_post_data ( type $media ) | populate the post data for the fetched media from rtMedia context | |
privacy_filter ( $where, $table_name ) | ||
query ( type $query ) : type | get media query for the request | |
register_set_gallery_template_filter ( $template, $attr ) | ||
rewind_media ( ) | Rewinds the db pool of media album and resets it to begining | |
rtmedia ( ) : type | moves ahead in the loop of media within the album | |
set_action_query ( ) | ||
set_actions ( ) | additional actions to be added via action hook | |
set_json_format ( ) | json request | |
set_media_type ( ) | ||
set_privacy ( ) |
public __construct ( array | boolean $args = false ) | ||
$args | array | boolean | The query arguments |
public get_media_by_media_id ( type $id ) : null | ||
$id | type | |
Результат | null |
public get_media_id ( type $media ) : type | ||
$media | type | |
Результат | type |
public have_media ( ) : boolean | ||
Результат | boolean |
public next_media ( ) : type | ||
Результат | type |
public populate_data ( ) : boolean | ||
Результат | boolean |
public populate_post_data ( type $media ) | ||
$media | type |
public query ( type $query ) : type | ||
$query | type | |
Результат | type |
public register_set_gallery_template_filter ( $template, $attr ) |
public rewind_media ( ) |
public rtmedia ( ) : type | ||
Результат | type |
public $action_query |
public $media_query |