PHP Класс RTMediaGalleryShortcode, rtMedia

rtMedia Gallery Shortcode to embedd a gallery of media anywhere
Автор: Udit Desai ([email protected])
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$add_script

Открытые методы

Метод Описание
__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"

Описание методов

__construct() публичный Метод

public __construct ( )

ajax_rtmedia_get_template() публичный Метод

display_allowed() статический публичный Метод

Helper function to check whether the shortcode should be rendered or not
static public display_allowed ( ) : type
Результат type

register_scripts() статический публичный Метод

static public register_scripts ( )

render() статический публичный Метод

Render a shortcode according to the attributes passed with it
static public render ( boolean $attr ) : boolean | string
$attr boolean
Результат boolean | string

rtmedia_query_where_filter() статический публичный Метод

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 )

Описание свойств

$add_script статическое публичное свойство

static public $add_script