inc\call_method.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
MCP Loader

Prepares Methods and API to be loaded

Author
Sergey Dilong  
License
GPL-2.0  
Package
Temply-Account\Services  

Constants

>VConstant  MCP_PREDEFINED = $r
MCP-Config variable
Package
Temply-Account\Services  

\__MethodCaller\__Call

Package: Temply-Account\Services
Execute MCP

Does all the stuff

MCP-Config use

It was created to predefine some wars for API Init section. Later it will be used for captcha sense etc.

Author
Sergey Dilong  
Example
Yes, it's really comment, which is going to be parsed  
Example
It can be accessed from `MCP_PREDEFINED` const  
License
GPL-2.0  

Properties

>VPropertyprivatestring $filepath = ""
static

Path to executable method file

Default value""Details
Type
string
>VPropertyprivatearray $mcp = array()
static

Parsed MCP-Config data

Default valuearray()Details
Type
array
>VPropertyprivatearray<mixed,string> $method
static

Method Section and Name

Details
Type
array<mixed,string>
>VPropertyprivatestring $method_raw
static

Method in section.name format

Details
Type
string

Methods

methodpublicGetData() : array<mixed,mixed>
static

Get MCP data

Get data such as method info and MCP config

Returns
TypeDescription
array<mixed,mixed>MCP Info
Details
Example
Return array  
methodpublicInit() : array<mixed,mixed>
static

Init MCP

Preloads API

Returns
TypeDescription
array<mixed,mixed>self::GetData() return
Details
See
 
methodprivatecall404() : void
static

Send 404 error

Emulates Apache's HTTP 404 response code and terminates

Documentation was generated by phpDocumentor v2.9.0.