PHP Class Papi_Property_Number, papi

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

Méthodes publiques

Свойство Type Description
$convert_type string The convert type.

Méthodes publiques

Méthode Description
format_value ( mixed $value, string $slug, integer $post_id ) : float | integer Format the value of the property before it's returned to WordPress admin or the site.
get_convert_type ( ) : string Get convert type.
get_default_settings ( ) : array Get default settings.
get_value ( ) : float | integer Get value from the database.
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 ) : float | integer
$value mixed
$slug string
$post_id integer
Résultat float | integer

get_convert_type() public méthode

Get convert type.
public get_convert_type ( ) : string
Résultat string

get_default_settings() public méthode

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

get_value() public méthode

Get value from the database.
public get_value ( ) : float | integer
Résultat float | integer

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