PHP 클래스 RTMediaGalleryShortcode, rtMedia

rtMedia Gallery Shortcode to embedd a gallery of media anywhere
저자: Udit Desai ([email protected])
파일 보기 프로젝트 열기: rtCamp/rtMedia 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$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