ExternalServiceHelper extends Helper
Table of Contents
Constants
- DEBUG_MODE_OPT = 'location2_debug_mode'
- EDIT_PAGE_URL = 'sale_location_external_service_edit.php'
- IMPORT_PAGE_URL = 'sale_location_import.php'
- LIST_PAGE_URL = 'sale_location_external_service_list.php'
- LOCATION_LINK_DATA_CACHE_TAG = 'sale-location-data'
- MIGRATION_PAGE_URL = 'sale_location_migration.php'
- REINDEX_PAGE_URL = 'sale_location_reindex.php'
Methods
- add() : mixed
- checkUseFilter() : mixed
- convertToArray() : mixed
- delete() : mixed
- getColumns() : mixed
- getDetailPageRows() : mixed
- getEditUrl() : mixed
- getEntityRoadCode() : mixed
- getEntityRoadMap() : string
- Function returns class name for an attached entity
- getFilterColumns() : mixed
- getFormData() : mixed
- getIdsByFilter() : mixed
- getImportUrl() : mixed
- getList() : mixed
- getListGridColumns() : mixed
- getListUrl() : mixed
- getMap() : mixed
- getMigrationUrl() : mixed
- getNameToDisplay() : mixed
- getParametersForList() : mixed
- getPrimaryFieldName() : mixed
- getReindexUrl() : mixed
- getUrl() : mixed
- getWidgetAppearance() : mixed
- makeSafeDisplay() : mixed
- performGridOperations() : mixed
- prepareLinksForSaving() : mixed
- proxyListRequest() : mixed
- proxyUpdateRequest() : mixed
- readMap() : mixed
- resetLocationsForEntity() : mixed
- update() : mixed
- validateUpdateRequest() : mixed
Constants
DEBUG_MODE_OPT
public
mixed
DEBUG_MODE_OPT
= 'location2_debug_mode'
EDIT_PAGE_URL
public
mixed
EDIT_PAGE_URL
= 'sale_location_external_service_edit.php'
IMPORT_PAGE_URL
public
mixed
IMPORT_PAGE_URL
= 'sale_location_import.php'
LIST_PAGE_URL
public
mixed
LIST_PAGE_URL
= 'sale_location_external_service_list.php'
LOCATION_LINK_DATA_CACHE_TAG
public
mixed
LOCATION_LINK_DATA_CACHE_TAG
= 'sale-location-data'
MIGRATION_PAGE_URL
public
mixed
MIGRATION_PAGE_URL
= 'sale_location_migration.php'
REINDEX_PAGE_URL
public
mixed
REINDEX_PAGE_URL
= 'sale_location_reindex.php'
Methods
add()
public
static add(mixed $data) : mixed
Parameters
- $data : mixed
checkUseFilter()
public
static checkUseFilter() : mixed
convertToArray()
public
static convertToArray(mixed $data) : mixed
Parameters
- $data : mixed
delete()
public
static delete(mixed $primary) : mixed
Parameters
- $primary : mixed
getColumns()
public
static getColumns(mixed $page) : mixed
Parameters
- $page : mixed
getDetailPageRows()
public
static getDetailPageRows() : mixed
getEditUrl()
public
static getEditUrl([mixed $parameters = array() ]) : mixed
Parameters
- $parameters : mixed = array()
getEntityRoadCode()
public
static getEntityRoadCode() : mixed
getEntityRoadMap()
Function returns class name for an attached entity
public
static getEntityRoadMap() : string
Return values
string —Entity class name
getFilterColumns()
public
static getFilterColumns() : mixed
getFormData()
public
static getFormData(mixed $id) : mixed
Parameters
- $id : mixed
getIdsByFilter()
public
static getIdsByFilter(mixed $listFilter) : mixed
Parameters
- $listFilter : mixed
getImportUrl()
public
static getImportUrl() : mixed
getList()
public
static getList([mixed $parameters = array() ][, mixed $tableId = false ][, mixed $navigation = 20 ][, mixed $params = array() ]) : mixed
Parameters
- $parameters : mixed = array()
- $tableId : mixed = false
- $navigation : mixed = 20
- $params : mixed = array()
getListGridColumns()
public
static getListGridColumns() : mixed
getListUrl()
public
static getListUrl([mixed $parameters = array() ]) : mixed
Parameters
- $parameters : mixed = array()
getMap()
public
static getMap(mixed $page) : mixed
Parameters
- $page : mixed
getMigrationUrl()
public
static getMigrationUrl() : mixed
getNameToDisplay()
public
static getNameToDisplay(mixed $id) : mixed
Parameters
- $id : mixed
getParametersForList()
public
static getParametersForList(mixed $proxed) : mixed
Parameters
- $proxed : mixed
getPrimaryFieldName()
public
static getPrimaryFieldName() : mixed
getReindexUrl()
public
static getReindexUrl() : mixed
getUrl()
public
static getUrl(mixed $page[, mixed $parameters = array() ]) : mixed
Parameters
- $page : mixed
- $parameters : mixed = array()
getWidgetAppearance()
public
static getWidgetAppearance() : mixed
makeSafeDisplay()
public
static makeSafeDisplay(mixed &$value, mixed $code) : mixed
Parameters
- $value : mixed
- $code : mixed
performGridOperations()
public
static performGridOperations(mixed $parameters) : mixed
Parameters
- $parameters : mixed
prepareLinksForSaving()
public
static prepareLinksForSaving(mixed $connectorClass, mixed $links) : mixed
Parameters
- $connectorClass : mixed
- $links : mixed
proxyListRequest()
public
static proxyListRequest(mixed $page) : mixed
Parameters
- $page : mixed
proxyUpdateRequest()
public
static proxyUpdateRequest(mixed $data) : mixed
Parameters
- $data : mixed
readMap()
public
static readMap(mixed $entityRoadCode[, mixed $page = 'list' ]) : mixed
Parameters
- $entityRoadCode : mixed
- $page : mixed = 'list'
resetLocationsForEntity()
public
static resetLocationsForEntity(mixed $entityId, mixed $locations, mixed $entityName[, mixed $expectCodes = false ]) : mixed
Parameters
- $entityId : mixed
- $locations : mixed
- $entityName : mixed
- $expectCodes : mixed = false
update()
public
static update(mixed $primary, mixed $data) : mixed
Parameters
- $primary : mixed
- $data : mixed
validateUpdateRequest()
public
static validateUpdateRequest(mixed $data) : mixed
Parameters
- $data : mixed