Method |
Description |
|
__construct ( ) |
Do things like register/enqueue scripts and stylesheets |
|
admin_ajax_upload ( ) |
Handle plupload AJAX |
|
admin_init ( ) |
Add admin_init actions |
|
display ( mixed $value = null, string $name = null, array $options = null, array $pod = null, integer $id = null ) : mixed | null |
Change the way the value of the field is displayed with Pods::get |
|
images ( integer $id, mixed $value, string $name = null, array $options = null, array $pod = null, string $image_size = null ) : string |
Return image(s) markup |
|
input ( string $name, mixed $value = null, array $options = null, array $pod = null, integer $id = null ) |
Customize output of the form field |
|
markup ( array $attributes, integer $limit = 1, boolean $editable = true, integer $id = null, string $icon = null, string $name = null, $linked = false, $link = null ) : string |
Handle file row output for uploaders |
|
options ( ) |
Add options and set defaults to |
|
pre_save ( mixed $value, integer $id = null, string $name = null, array $options = null, array $fields = null, array $pod = null, object $params = null ) : mixed |
Change the value or perform actions after validation but before saving to the DB |
|
regex ( mixed $value = null, string $name = null, array $options = null, string $pod = null, integer $id = null ) : boolean |
Build regex necessary for JS validation |
|
save ( mixed $value, integer $id = null, string $name = null, array $options = null, array $fields = null, array $pod = null, object $params = null ) |
Save the value to the DB |
|
schema ( array $options = null ) : array |
Define the current field's schema for DB table storage |
|
ui ( integer $id, mixed $value, string $name = null, array $options = null, array $fields = null, array $pod = null ) : mixed | void |
Customize the Pods UI manage table column output |
|
validate ( mixed $value, string $name = null, array $options = null, array $fields = null, array $pod = null, integer $id = null, null $params = null ) : boolean |
Validate a value before it's saved |
|