PHP 클래스 Microweber\Providers\FieldsManager

파일 보기 프로젝트 열기: microweber/microweber

공개 프로퍼티들

프로퍼티 타입 설명
$app
$table
$table_values
$tables

공개 메소드들

메소드 설명
__construct ( $app = null )
decode_array_vals ( $it )
delete ( $id )
get ( $table, $id, $return_full = false, $field_for = false, $debug = false, $field_type = false, $for_session = false )
get_all ( $params )
get_by_id ( $field_id )
get_value ( $content_id, $field_name, $return_full = false, $table = 'content' )
get_values ( $custom_field_id )
make ( string $field_id, string $field_type = 'text', array $settings = false ) make_field.
make_default ( $rel, $rel_id, $fields_csv_str )
make_field ( $field_id, $field_type = 'text', $settings = false )
names_for_table ( string $table ) names_for_table.
reorder ( $data )
save ( $data )
unify_params ( $data )

비공개 메소드들

메소드 설명
_decode_options ( $data )
_encode_options ( $data )

메소드 상세

__construct() 공개 메소드

public __construct ( $app = null )

decode_array_vals() 공개 메소드

public decode_array_vals ( $it )

delete() 공개 메소드

public delete ( $id )

get() 공개 메소드

public get ( $table, $id, $return_full = false, $field_for = false, $debug = false, $field_type = false, $for_session = false )

get_all() 공개 메소드

public get_all ( $params )

get_by_id() 공개 메소드

public get_by_id ( $field_id )

get_value() 공개 메소드

public get_value ( $content_id, $field_name, $return_full = false, $table = 'content' )

get_values() 공개 메소드

public get_values ( $custom_field_id )

make() 공개 메소드

make_field.
저자: Microweber
public make ( string $field_id, string $field_type = 'text', array $settings = false )
$field_id string
$field_type string
$settings array

make_default() 공개 메소드

public make_default ( $rel, $rel_id, $fields_csv_str )

make_field() 공개 메소드

public make_field ( $field_id, $field_type = 'text', $settings = false )

names_for_table() 공개 메소드

names_for_table.
저자: Microweber
public names_for_table ( string $table )
$table string

reorder() 공개 메소드

public reorder ( $data )

save() 공개 메소드

public save ( $data )

unify_params() 공개 메소드

public unify_params ( $data )

프로퍼티 상세

$app 공개적으로 프로퍼티

public $app

$table 공개적으로 프로퍼티

public $table

$table_values 공개적으로 프로퍼티

public $table_values

$tables 공개적으로 프로퍼티

public $tables