\

Interfaces

ServiceSecurityProvider Interface for security provider.

Classes

Application Base class of the application.
ApplicationActions Class for basic CRUD client.
BasicTemplate Template engine class.
Cache Class for caching data on disk. For now we use one cache file for all pages of the service.
CommonApplication Common application with any available template.
CommonApplication Common application with any available template.
ConsoleRequestParams Request params fetcher.
CRUDService Class for custom crud service.
CRUDServiceClient Class for basic CRUD API client.
CRUDServiceCollection Collection of the crud service's records.
CRUDServiceCommonTests Predefined set of tests for service.
CRUDServiceLogic Class handles CRUD logic.
CRUDServiceLogicUnitTests Base class for service logic unit tests.
CRUDServiceModel CRUD service's default model.
CRUDServiceTests Predefined set of tests for crud service.
CRUDServiceUnitTests
CustomClient
CustomFields Class for custom fields manipulation.
DNS DNS class.
FacebookAuth Class provides integration with Facebook.
FakeParametersFetcher
FakeSecurityProvider
FakeSecurityProvider
FieldsAlgorithms Class constructs forms.
FormBuilder Form builder class.
Functional Wrapper for Yandex Metrika REST API.
GentellaTemplate Template engine class.
HTMLTemplate Template class.
HTTPRequestParams Request params fetcher.
ListBuilder Class constructs grids.
Mezon Mezon's main class.
MockModel
MockParamsFetcher
MockSecurityProvider
OKAuth Class provides integration with OK.
PdoCrud Class provides simple CRUD operations.
POP3Client POP3 protocol client.
ReportBuilder Class constructs forms.
RESTClient REST client class.
RESTException Class for rest exceptions.
RESTServer REST Server class.
RESTTemplate Template engine class.
Router Router class.
Service Service class.
ServiceClient Service client for Service.
ServiceClientTests
ServiceCommonLogic Class stores all service's logic.
ServiceCommonLogicUnitTests Base class for service logic unit tests.
ServiceConsoleTransport Console transport for all services
ServiceHTTPTransport HTTP transport for all services.
ServiceLogic Class stores all service's logic.
ServiceLogicUnitTests Base class for service logic unit tests.
ServiceMockSecurityProvider Class ServiceMockSecurityProvider - provides mockes for all security methods.
ServiceModel Base service model class.
ServiceRESTTransport REST transport for all services.
ServiceTests Predefined set of tests for service.
ServiceTransport
SimpleOutputTemplate Template engine class.
Singleton Singleton class.
SocialNetworkAuth Class provides integration with social networks authorization APIs.
TemplateEngine Template engine class.
TemplateResources Class collects resources for page.
View Base class for all views.
VKAuth Class provides integration with VK.

Constants

APP_HTTP_PATH_STRING

APP_HTTP_PATH_STRING

CREATION_DATE_FIELD_NAME

CREATION_DATE_FIELD_NAME

CUSTOM_FIELD_NAME

CUSTOM_FIELD_NAME

CUSTOM_FIELD_TABLE_NAME

CUSTOM_FIELD_TABLE_NAME

CUSTOM_FIELDS_FIELD_NAME

CUSTOM_FIELDS_FIELD_NAME

DATA_FILES_PATH

DATA_FILES_PATH

DESCRIPTION_FIELD_NAME

DESCRIPTION_FIELD_NAME

DOMAIN_ID_FIELD_NAME

DOMAIN_ID_FIELD_NAME

ENTITY_FIELD_NAME

ENTITY_FIELD_NAME

FIELD_FIELD_NAME

FIELD_FIELD_NAME

FIELD_NAME_DOMAIN_ID

FIELD_NAME_DOMAIN_ID

FIELD_TYPE_CUSTOM

FIELD_TYPE_CUSTOM

FIELD_VALUE_FIELD_NAME

FIELD_VALUE_FIELD_NAME

FIELDS_FIELD_NAME

FIELDS_FIELD_NAME

GET_STRING

GET_STRING

ITEMS_FIELD_NAME

ITEMS_FIELD_NAME

MEZON_HTTP_PATH_STRING

MEZON_HTTP_PATH_STRING

NO_CALLBACK

NO_CALLBACK

NO_ROUTE

NO_ROUTE

NO_ROUTER

NO_ROUTER

NOW

NOW

ORDER_FIELD_NAME

ORDER_FIELD_NAME

RECORDS_COUNT_FIELD_NAME

RECORDS_COUNT_FIELD_NAME

Functions

_add_config_value_rec()

_add_config_value_rec(  $Config,   $Route,   $Value) 

Parameters

$Config
$Route
$Value

_delete_config()

_delete_config(  $RouteParts,   $ConfigPart) 

Deleting config element.

Parameters

$RouteParts
$ConfigPart

_expand_string()

_expand_string(string  $Value) : mixed

Method expands string,

Parameters

string $Value
  • value to be expanded;

Returns

mixed —

Expanded value.

_set_config_value_rec()

_set_config_value_rec(  $Config,   $Route,   $Value) 

Parameters

$Config
$Route
$Value

add_config_value()

add_config_value(  $Route,   $Value) 

Function adds specified value $Value into array with path $Route in the config.

Parameters

$Route
$Value

add_connection_to_config()

add_connection_to_config(  $Name,   $DSN,   $User,   $Password) 

Method sets connection details to config.

Parameters

$Name
$DSN
$User
$Password

config_key_exists()

config_key_exists(  $Route) 

Validating key existance.

Parameters

$Route

delete_config_value()

delete_config_value(  $Route) 

Deleting config value.

Parameters

$Route

get_config_value()

get_config_value(  $Route,   $DefaultValue = false) 

Function returns specified config key.

If the key does not exists then $DefaultValue will be returned.

Parameters

$Route
$DefaultValue

set_config_value()

set_config_value(  $Route,   $Value) 

Function sets specified config key with value $Value.

Parameters

$Route
$Value