PHP 클래스 RTMediaFormHandler, rtMedia

저자: udit
파일 보기 프로젝트 열기: rtCamp/rtMedia 1 사용 예제들

공개 메소드들

메소드 설명
buddypress_content ( ) : void Define buddypress content.
buddypress_render_options ( array $options ) : array Render buddypress options.
checkbox ( array $args, boolean $echo = true ) : string Show rtmedia checkbox in admin options.
custom_css_content ( ) : void Define custom css content.
custom_css_render_options ( array $options ) : array Render custom css options.
dimensions ( $args ) : void Show rtmedia dimensions in admin options.
display_content ( ) : void display content.
display_render_options ( array $options ) : array display render options.
extract_settings ( string $section_name, array $options ) : array extract settings.
general_content ( ) : void Define general_content
get_type_details ( array $allowed_types, string $key ) : array Get type details
number ( array $args ) : void Show rtmedia number in admin options.
privacy_content ( ) : void Render privacy content.
privacy_render_options ( array $options ) : array Render privacy options.
radio ( array $args ) : void Show rtmedia radio in admin options.
render_general_content ( array $options ) : array render general content.
render_option_content ( $option ) * render options
render_option_group ( $group ) * render option group title inside single tab
render_tab_content ( $options, $groups = [], $default_group ) * render each tab content
rtForm_do_settings_fields ( string $page, string $section ) : void Define rtForm do_settings_fields.
rtForm_settings_tabs_content ( string $page, array $sub_tabs ) : void Define rtForm settings tabs content.
selectBox ( $args )
sizes_content ( ) : void Define sizes_content.
sizes_render_options ( array $options ) : array Define sizes_render_options.
textarea ( array $args, boolean $echo = true ) : string Show rtmedia textarea in admin options.
textbox ( array $args ) : void Show rtmedia textbox in admin options.
types_content ( ) : void Define types_content.
types_render_options ( array $options ) : array Define types_render_options.

메소드 상세

buddypress_content() 공개 정적인 메소드

Define buddypress content.
public static buddypress_content ( ) : void
리턴 void

buddypress_render_options() 정적인 공개 메소드

Render buddypress options.
static public buddypress_render_options ( array $options ) : array
$options array
리턴 array $render

checkbox() 공개 정적인 메소드

Show rtmedia checkbox in admin options.
public static checkbox ( array $args, boolean $echo = true ) : string
$args array
$echo boolean
리턴 string $chkObj->get_switch( $args )

custom_css_content() 공개 정적인 메소드

Define custom css content.
public static custom_css_content ( ) : void
리턴 void

custom_css_render_options() 정적인 공개 메소드

Render custom css options.
static public custom_css_render_options ( array $options ) : array
$options array
리턴 array $render

dimensions() 공개 정적인 메소드

Show rtmedia dimensions in admin options.
public static dimensions ( $args ) : void
리턴 void

display_content() 공개 정적인 메소드

display content.
public static display_content ( ) : void
리턴 void

display_render_options() 정적인 공개 메소드

display render options.
static public display_render_options ( array $options ) : array
$options array
리턴 array $render

extract_settings() 정적인 공개 메소드

extract settings.
static public extract_settings ( string $section_name, array $options ) : array
$section_name string
$options array
리턴 array $section

general_content() 정적인 공개 메소드

Define general_content
static public general_content ( ) : void
리턴 void

get_type_details() 정적인 공개 메소드

Get type details
static public get_type_details ( array $allowed_types, string $key ) : array
$allowed_types array
$key string
리턴 array $data

number() 공개 정적인 메소드

Show rtmedia number in admin options.
public static number ( array $args ) : void
$args array
리턴 void

privacy_content() 공개 정적인 메소드

Render privacy content.
public static privacy_content ( ) : void
리턴 void

privacy_render_options() 정적인 공개 메소드

Render privacy options.
static public privacy_render_options ( array $options ) : array
$options array
리턴 array $render

radio() 공개 정적인 메소드

Show rtmedia radio in admin options.
public static radio ( array $args ) : void
$args array
리턴 void

render_general_content() 정적인 공개 메소드

render general content.
static public render_general_content ( array $options ) : array
$options array
리턴 array $render

render_option_content() 공개 정적인 메소드

* render options
public static render_option_content ( $option )
$option

render_option_group() 공개 정적인 메소드

* render option group title inside single tab
public static render_option_group ( $group )
$group

render_tab_content() 공개 정적인 메소드

* render each tab content
public static render_tab_content ( $options, $groups = [], $default_group )
$groups
$default_group

rtForm_do_settings_fields() 공개 정적인 메소드

Define rtForm do_settings_fields.
public static rtForm_do_settings_fields ( string $page, string $section ) : void
$page string
$section string
리턴 void

rtForm_settings_tabs_content() 공개 정적인 메소드

Define rtForm settings tabs content.
public static rtForm_settings_tabs_content ( string $page, array $sub_tabs ) : void
$page string
$sub_tabs array
리턴 void

selectBox() 공개 정적인 메소드

public static selectBox ( $args )

sizes_content() 공개 정적인 메소드

Define sizes_content.
public static sizes_content ( ) : void
리턴 void

sizes_render_options() 정적인 공개 메소드

Define sizes_render_options.
static public sizes_render_options ( array $options ) : array
$options array
리턴 array $render

textarea() 공개 정적인 메소드

Show rtmedia textarea in admin options.
public static textarea ( array $args, boolean $echo = true ) : string
$args array
$echo boolean
리턴 string $chkObj->get_textarea( $args )

textbox() 공개 정적인 메소드

Show rtmedia textbox in admin options.
public static textbox ( array $args ) : void
$args array
리턴 void

types_content() 공개 정적인 메소드

Define types_content.
public static types_content ( ) : void
리턴 void

types_render_options() 정적인 공개 메소드

Define types_render_options.
static public types_render_options ( array $options ) : array
$options array
리턴 array $render