PHP 클래스 PodsUI, pods

파일 보기 프로젝트 열기: pods-framework/pods 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$action string
$action_after array
$action_bulk string
$action_links array
$actions_bulk array
$actions_custom array
$actions_disabled array
$actions_hidden array
$allowed used in var_update
$bulk array
$css boolean
$data boolean | array
$data_full boolean | array
$data_keys array
$default_none boolean
$do boolean
$excluded array
$export array
$extra array
$fields array
$filters array
$filters_enhanced boolean
$header boolean
$heading boolean
$help array
$icon boolean
$id integer
$item boolean
$items boolean
$label boolean
$limit integer
$num string
$orderby boolean
$orderby_dir string
$page integer
$pagination boolean
$pagination_total boolean
$params array
$pod array | boolean | mixed | null | Pods
$reorder array
$restrict array
$row array
$save boolean
$screen_options array
$search boolean
$search_across boolean
$search_across_picks boolean
$searchable boolean
$session array
$sortable boolean
$sql array
$style string
$total integer
$total_found integer
$user array
$view string
$views array
$where array
$wpcss boolean
$x base

공개 메소드들

메소드 설명
__construct ( mixed $options, boolean $deprecated = false ) : PodsUI Generate UI for Data Management
add ( ) : mixed
callback ( ) : boolean | mixed Check for a custom action callback and run it
callback_action ( ) : boolean | mixed Check for a custom action callback and run it (deprecated reverse arg order)
callback_bulk ( ) : boolean | mixed Check for a bulk action callback and run it
delete ( null $id = null ) : boolean | mixed
delete_bulk ( ) : boolean | mixed
deprecated_filters ( )
do_magic_tags ( $tag ) : string
do_template ( $code, boolean | array $row = false ) : mixed
edit ( boolean $duplicate = false ) : mixed
error ( $msg ) : boolean
exclusion ( ) : array
export ( )
filters ( )
filters_popup ( )
form ( boolean $create = false, boolean $duplicate = false ) : boolean | mixed
get_data ( $params = null ) : boolean
get_field ( $field ) : array | boolean | mixed | null
get_params ( null | array $params = null, null | string $action = null ) Get find() params based on current UI action
get_row ( &$counter, $method = null ) : array
go ( ) : mixed
hidden_vars ( boolean | array $exclude = false, boolean | array $array = false )
limit ( boolean $options = false ) : mixed
manage ( boolean $reorder = false ) : mixed | null
message ( $msg, boolean $error = false )
pagination ( boolean $header = false ) : mixed
reorder ( ) Reorder data
restricted ( $action = 'edit', $row = null )
save ( boolean $insert = false ) : mixed
screen_meta ( )
setup ( $options ) : array | boolean | mixed | null | PodsArray
setup_deprecated ( $deprecated_options ) : array
setup_fields ( null $fields = null, string $which = 'fields' ) : array | boolean | mixed | null
sort_data ( ) Sort out data alphabetically by a key
table ( boolean $reorder = false ) : boolean | mixed
view ( ) : boolean | mixed

비공개 메소드들

메소드 설명
do_hook ( ) : array | boolean | mixed | null

메소드 상세

__construct() 공개 메소드

Generate UI for Data Management
부터: 2.0
public __construct ( mixed $options, boolean $deprecated = false ) : PodsUI
$options mixed Object, Array, or String containing Pod or Options to be used
$deprecated boolean Set to true to support old options array from Pods UI plugin
리턴 PodsUI

add() 공개 메소드

public add ( ) : mixed
리턴 mixed

callback() 공개 메소드

Check for a custom action callback and run it
public callback ( ) : boolean | mixed
리턴 boolean | mixed

callback_action() 공개 메소드

Check for a custom action callback and run it (deprecated reverse arg order)
public callback_action ( ) : boolean | mixed
리턴 boolean | mixed

callback_bulk() 공개 메소드

Check for a bulk action callback and run it
public callback_bulk ( ) : boolean | mixed
리턴 boolean | mixed Callback result

delete() 공개 메소드

public delete ( null $id = null ) : boolean | mixed
$id null
리턴 boolean | mixed

delete_bulk() 공개 메소드

public delete_bulk ( ) : boolean | mixed
리턴 boolean | mixed

deprecated_filters() 공개 메소드

public deprecated_filters ( )

do_magic_tags() 공개 메소드

public do_magic_tags ( $tag ) : string
$tag
리턴 string

do_template() 공개 메소드

public do_template ( $code, boolean | array $row = false ) : mixed
$code
$row boolean | array
리턴 mixed

edit() 공개 메소드

public edit ( boolean $duplicate = false ) : mixed
$duplicate boolean
리턴 mixed

error() 공개 메소드

public error ( $msg ) : boolean
$msg
리턴 boolean

exclusion() 공개 메소드

public exclusion ( ) : array
리턴 array

export() 공개 메소드

public export ( )

filters() 공개 메소드

public filters ( )

filters_popup() 공개 메소드

public filters_popup ( )

form() 공개 메소드

public form ( boolean $create = false, boolean $duplicate = false ) : boolean | mixed
$create boolean
$duplicate boolean
리턴 boolean | mixed

get_data() 공개 메소드

public get_data ( $params = null ) : boolean
리턴 boolean

get_field() 공개 메소드

public get_field ( $field ) : array | boolean | mixed | null
$field
리턴 array | boolean | mixed | null

get_params() 공개 메소드

Get find() params based on current UI action
public get_params ( null | array $params = null, null | string $action = null )
$params null | array
$action null | string

get_row() 공개 메소드

public get_row ( &$counter, $method = null ) : array
리턴 array

go() 공개 메소드

public go ( ) : mixed
리턴 mixed

hidden_vars() 공개 메소드

public hidden_vars ( boolean | array $exclude = false, boolean | array $array = false )
$exclude boolean | array
$array boolean | array

limit() 공개 메소드

public limit ( boolean $options = false ) : mixed
$options boolean
리턴 mixed

manage() 공개 메소드

public manage ( boolean $reorder = false ) : mixed | null
$reorder boolean
리턴 mixed | null

message() 공개 메소드

public message ( $msg, boolean $error = false )
$msg
$error boolean

pagination() 공개 메소드

public pagination ( boolean $header = false ) : mixed
$header boolean
리턴 mixed

reorder() 공개 메소드

Reorder data
public reorder ( )

restricted() 공개 메소드

public restricted ( $action = 'edit', $row = null )

save() 공개 메소드

public save ( boolean $insert = false ) : mixed
$insert boolean
리턴 mixed

screen_meta() 공개 메소드

public screen_meta ( )

setup() 공개 메소드

public setup ( $options ) : array | boolean | mixed | null | PodsArray
$options
리턴 array | boolean | mixed | null | PodsArray

setup_deprecated() 공개 메소드

public setup_deprecated ( $deprecated_options ) : array
$deprecated_options
리턴 array

setup_fields() 공개 메소드

public setup_fields ( null $fields = null, string $which = 'fields' ) : array | boolean | mixed | null
$fields null
$which string
리턴 array | boolean | mixed | null

sort_data() 공개 메소드

Sort out data alphabetically by a key
public sort_data ( )

table() 공개 메소드

public table ( boolean $reorder = false ) : boolean | mixed
$reorder boolean
리턴 boolean | mixed

view() 공개 메소드

부터: 2.3.10
public view ( ) : boolean | mixed
리턴 boolean | mixed

프로퍼티 상세

$action 공개적으로 프로퍼티

public string $action
리턴 string

$action_after 공개적으로 프로퍼티

public array $action_after
리턴 array

$action_bulk 공개적으로 프로퍼티

public string $action_bulk
리턴 string

$actions_bulk 공개적으로 프로퍼티

public array $actions_bulk
리턴 array

$actions_custom 공개적으로 프로퍼티

public array $actions_custom
리턴 array

$actions_disabled 공개적으로 프로퍼티

public array $actions_disabled
리턴 array

$actions_hidden 공개적으로 프로퍼티

public array $actions_hidden
리턴 array

$allowed 정적으로 공개적으로 프로퍼티

used in var_update
static public $allowed

$bulk 공개적으로 프로퍼티

public array $bulk
리턴 array

$css 공개적으로 프로퍼티

public bool $css
리턴 boolean

$data 공개적으로 프로퍼티

public bool|array $data
리턴 boolean | array

$data_full 공개적으로 프로퍼티

public bool|array $data_full
리턴 boolean | array

$data_keys 공개적으로 프로퍼티

public array $data_keys
리턴 array

$default_none 공개적으로 프로퍼티

public bool $default_none
리턴 boolean

$do 공개적으로 프로퍼티

public bool $do
리턴 boolean

$excluded 정적으로 공개적으로 프로퍼티

static public array $excluded
리턴 array

$export 공개적으로 프로퍼티

public array $export
리턴 array

$extra 공개적으로 프로퍼티

public array $extra
리턴 array

$fields 공개적으로 프로퍼티

public array $fields
리턴 array

$filters 공개적으로 프로퍼티

public array $filters
리턴 array

$filters_enhanced 공개적으로 프로퍼티

public bool $filters_enhanced
리턴 boolean

$header 공개적으로 프로퍼티

public bool $header
리턴 boolean

$heading 공개적으로 프로퍼티

public bool $heading
리턴 boolean

$help 공개적으로 프로퍼티

public array $help
리턴 array

$icon 공개적으로 프로퍼티

public bool $icon
리턴 boolean

$id 공개적으로 프로퍼티

public int $id
리턴 integer

$item 공개적으로 프로퍼티

public bool $item
리턴 boolean

$items 공개적으로 프로퍼티

public bool $items
리턴 boolean

$label 공개적으로 프로퍼티

public bool $label
리턴 boolean

$limit 공개적으로 프로퍼티

public int $limit
리턴 integer

$num 공개적으로 프로퍼티

public string $num
리턴 string

$orderby 공개적으로 프로퍼티

public bool $orderby
리턴 boolean

$orderby_dir 공개적으로 프로퍼티

public string $orderby_dir
리턴 string

$page 공개적으로 프로퍼티

public int $page
리턴 integer

$pagination 공개적으로 프로퍼티

public bool $pagination
리턴 boolean

$pagination_total 공개적으로 프로퍼티

public bool $pagination_total
리턴 boolean

$params 공개적으로 프로퍼티

public array $params
리턴 array

$pod 공개적으로 프로퍼티

public array|bool|mixed|null|Pods $pod
리턴 array | boolean | mixed | null | Pods

$reorder 공개적으로 프로퍼티

public array $reorder
리턴 array

$restrict 공개적으로 프로퍼티

public array $restrict
리턴 array

$row 공개적으로 프로퍼티

public array $row
리턴 array

$save 공개적으로 프로퍼티

public bool $save
리턴 boolean

$screen_options 공개적으로 프로퍼티

public array $screen_options
리턴 array

$search_across 공개적으로 프로퍼티

public bool $search_across
리턴 boolean

$search_across_picks 공개적으로 프로퍼티

public bool $search_across_picks
리턴 boolean

$searchable 공개적으로 프로퍼티

public bool $searchable
리턴 boolean

$session 공개적으로 프로퍼티

public array $session
리턴 array

$sortable 공개적으로 프로퍼티

public bool $sortable
리턴 boolean

$sql 공개적으로 프로퍼티

public array $sql
리턴 array

$style 공개적으로 프로퍼티

public string $style
리턴 string

$total 공개적으로 프로퍼티

public int $total
리턴 integer

$total_found 공개적으로 프로퍼티

public int $total_found
리턴 integer

$user 공개적으로 프로퍼티

public array $user
리턴 array

$view 공개적으로 프로퍼티

public string $view
리턴 string

$views 공개적으로 프로퍼티

public array $views
리턴 array

$where 공개적으로 프로퍼티

public array $where
리턴 array

$wpcss 공개적으로 프로퍼티

public bool $wpcss
리턴 boolean

$x 공개적으로 프로퍼티

base
public $x