Метод |
Описание |
|
__construct ( ) |
The constructor. |
|
add_driver ( Papi_Porter_Driver $driver ) : Papi_Porter |
Add Porter Driver. |
|
after ( string $filter, Closure $closure, integer $priority = 10, integer $accepted_args = 2 ) : boolean |
Add after filter. |
|
before ( string $filter, Closure $closure, integer $priority = 10, integer $accepted_args = 2 ) : boolean |
Add before filter. |
|
driver ( string | Papi_Porter_Driver $driver ) : Papi_Porter |
Alias for add_driver or use_driver method. |
|
driver_exists ( string $driver ) : boolean |
Check if a driver exists or not. |
|
export ( mixed $post_id, boolean $only_values = false ) : array |
Export data from Papi. With or without all property options. |
|
fire_filter ( array $options ) : mixed |
Fire filter. |
|
import ( mixed $options, array $fields = [] ) : boolean |
Import data to Papi. |
|
options ( array $options = [] ) : Papi_Porter |
Add options per property. |
|
use_driver ( string $driver ) : Papi_Porter |
Change Porter driver. |
|