onOffice WP Plugin

API onOffice WP Plugin

Namespaces

onOffice

Table of Contents

ONOFFICE_DI_CONFIG_PATH  = \implode(\DIRECTORY_SEPARATOR, [\ONOFFICE_PLUGIN_DIR, 'config', 'di-config.php'])
ONOFFICE_PLUGIN_DIR  = __DIR__
getRestrictLength()  : mixed
customFieldCallback()  : mixed
update_duplicate_check_warning_option()  : mixed
update_status_close_action_button_option()  : mixed
printRegion()  : mixed
printCountry()  : mixed
renderFieldEstateSearch()  : mixed
renderFormField()  : string
renderRegionalAddition()  : string
_manually_load_plugin()  : mixed
Manually load the plugin being tested.

Constants

ONOFFICE_DI_CONFIG_PATH

public mixed ONOFFICE_DI_CONFIG_PATH = \implode(\DIRECTORY_SEPARATOR, [\ONOFFICE_PLUGIN_DIR, 'config', 'di-config.php'])

ONOFFICE_PLUGIN_DIR

public mixed ONOFFICE_PLUGIN_DIR = __DIR__

Functions

getRestrictLength()

getRestrictLength(mixed $limitEllipsis, mixed $title[, mixed $ellipsis = '…' ]) : mixed
Parameters
$limitEllipsis : mixed
$title : mixed
$ellipsis : mixed = '…'
Return values
mixed

customFieldCallback()

customFieldCallback(mixed $pDI, mixed $format, mixed $limitEllipsis, mixed $meta_key) : mixed
Parameters
$pDI : mixed
$format : mixed
$limitEllipsis : mixed
$meta_key : mixed
Return values
mixed

update_duplicate_check_warning_option()

update_duplicate_check_warning_option() : mixed
Return values
mixed

update_status_close_action_button_option()

update_status_close_action_button_option() : mixed
Return values
mixed

printRegion()

printRegion(Region $pRegion[, mixed $selected = array() ], mixed $level) : mixed
Parameters
$pRegion : Region
$selected : mixed = array()
$level : mixed
Return values
mixed

printCountry()

printCountry(mixed $values, mixed $selectedValue) : mixed
Parameters
$values : mixed
$selectedValue : mixed
Return values
mixed

renderFieldEstateSearch()

renderFieldEstateSearch(string $inputName, array<string|int, mixed> $properties) : mixed
Parameters
$inputName : string
$properties : array<string|int, mixed>
Return values
mixed

renderFormField()

renderFormField(string $fieldName, Form $pForm[, bool $searchCriteriaRange = true ]) : string
Parameters
$fieldName : string
$pForm : Form
$searchCriteriaRange : bool = true
Return values
string

renderRegionalAddition()

renderRegionalAddition(string $inputName, array<string|int, mixed> $selectedValue, bool $multiple, string $fieldLabel, bool $isRequired[, array<string|int, mixed> $permittedValues = null ]) : string
Parameters
$inputName : string
$selectedValue : array<string|int, mixed>
$multiple : bool
$fieldLabel : string
$isRequired : bool
$permittedValues : array<string|int, mixed> = null
Return values
string

_manually_load_plugin()

Manually load the plugin being tested.

_manually_load_plugin() : mixed
Return values
mixed

Search results