PHP Class Papi_Property_Url, papi

Inheritance: extends Papi_Property
Show file Open project: wp-papi/papi

Public Methods

Method Description
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.
load_value ( mixed $value, string $slug, integer $post_id ) : mixed Change value after it's loaded from the database.
update_value ( mixed $value, string $slug, integer $post_id ) : mixed Update value before it's saved to the database.

Method Details

get_default_settings() public method

Get default settings.
public get_default_settings ( ) : array
return array

html() public method

Render property html.
public html ( )

import_value() public method

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

load_value() public method

Change value after it's loaded from the database.
public load_value ( mixed $value, string $slug, integer $post_id ) : mixed
$value mixed
$slug string
$post_id integer
return mixed

update_value() public method

Update value before it's saved to the database.
public update_value ( mixed $value, string $slug, integer $post_id ) : mixed
$value mixed
$slug string
$post_id integer
return mixed