PHP Class RTMediaGalleryShortcode, rtMedia

rtMedia Gallery Shortcode to embedd a gallery of media anywhere
Author: Udit Desai ([email protected])
Afficher le fichier Open project: rtCamp/rtMedia Class Usage Examples

Méthodes publiques

Свойство Type Description
$add_script

Méthodes publiques

Méthode Description
__construct ( )
ajax_rtmedia_get_template ( )
display_allowed ( ) : type Helper function to check whether the shortcode should be rendered or not
register_scripts ( )
render ( boolean $attr ) : boolean | string Render a shortcode according to the attributes passed with it
rtmedia_query_where_filter ( $where, $table_name, $join ) for gallery shortcode having attribute global as true, include all media except ones having context as "group"

Method Details

__construct() public méthode

public __construct ( )

ajax_rtmedia_get_template() public méthode

display_allowed() static public méthode

Helper function to check whether the shortcode should be rendered or not
static public display_allowed ( ) : type
Résultat type

register_scripts() static public méthode

static public register_scripts ( )

render() static public méthode

Render a shortcode according to the attributes passed with it
static public render ( boolean $attr ) : boolean | string
$attr boolean
Résultat boolean | string

rtmedia_query_where_filter() static public méthode

for gallery shortcode having attribute global as true, include all media except ones having context as "group"
static public rtmedia_query_where_filter ( $where, $table_name, $join )

Property Details

$add_script static_oe public_oe property

static public $add_script