PHP Class Papi_Property_Checkbox, papi

Inheritance: extends Papi_Property
Afficher le fichier Open project: wp-papi/papi

Méthodes publiques

Свойство Type Description
$convert_type string The convert type.
$default_value array The default value.

Méthodes publiques

Méthode Description
format_value ( mixed $value, string $slug, integer $post_id ) : array Format the value of the property before it's returned to WordPress admin or the site.
get_default_settings ( ) : array Get default settings.
html ( ) Render property html.
import_value ( mixed $value, string $slug, integer $post_id ) : mixed Import value to the property.

Method Details

format_value() public méthode

Format the value of the property before it's returned to WordPress admin or the site.
public format_value ( mixed $value, string $slug, integer $post_id ) : array
$value mixed
$slug string
$post_id integer
Résultat array

get_default_settings() public méthode

Get default settings.
public get_default_settings ( ) : array
Résultat array

html() public méthode

Render property html.
public html ( )

import_value() public méthode

Import value to the property.
public import_value ( mixed $value, string $slug, integer $post_id ) : mixed
$value mixed
$slug string
$post_id integer
Résultat mixed

Property Details

$convert_type public_oe property

The convert type.
public string $convert_type
Résultat string

$default_value public_oe property

The default value.
public array $default_value
Résultat array