Méthode |
Description |
|
__construct ( ) |
|
|
add ( string $title = '', boolean | integer $author_id = false, boolean | type $new = true, boolean | integer $post_id = false, boolean $context = false, boolean $context_id = false ) : type |
Adds a new album |
|
add_global ( string $title = '' ) : boolean |
Wrapper method to add a global album |
|
delete ( integer $id ) : boolean |
Generic method to delete any album |
|
delete_global ( integer $id ) : boolean |
Wrapper method to delete a global album |
|
get_current_author ( ) : integer |
returns user_id of the current logged in user in wordpress |
|
get_default ( ) : type |
There is a default global album which works as a Wall Post Album for the
user. |
|
get_globals ( ) : bool/mixed/void |
Get the list of all global albums |
|
merge ( integer $primary_album_id, integer $secondary_album_id ) : int/bool |
Generic function to merge two albums |
|
register_post_types ( ) |
Register Custom Post Types required by rtMedia |
|
rtmedia_album_custom_post_status ( ) |
|
|
save_globals ( $album_ids = false ) : boolean |
Save global albums for newly added album |
|
set_queries_per_page ( integer $per_page, string $table_name ) : integer |
Helper function to set number of queries in pagination |
|
update ( integer $id, string $title = '' ) : boolean |
Update any album. Generic method for all the user. |
|
update_global ( integer $id, string $title = '' ) : boolean |
Wrapper method to update details for any global album |
|
verify_nonce ( type $mode ) : boolean |
Method verifies the nonce passed while performing any CRUD operations
on the album. |
|