MyWackoSite: zonemng/Protokol/EU/Experimental

Экспериментальный протокол для End-user'a

eu_service_list

eu_service_list($session_id)

* parameters:

string 'session_id';
* return:

FTP

eu_service_ftp_state

Получение состояния возможности end-user'а по использованию FTP-сервера

zo_eu_service_ftp_state($session_id)

* parameters:

string 'session_id';

* return:

string 'state' = “enabled” | “disabled” | “error” | “unknown” // описание статусов смотри в phpDoc для класса RL_Service

eu_service_ftp_version

zo_service_ftp_version($session_id)

* parameters:

string 'session_id';

* return:

MySQL

eu_service_mysql_state

eu_service_mysql_state($session_id)

* parameters:

string 'session_id';

* return:

eu_service_mysql_limits

eu_service_mysql_limits($session_id)

* parameters:

string 'session_id';

* return:

eu_service_mysql_limits_used

eu_service_mysql_limits_used($session_id)

* parameters:

string 'session_id';

* return:

eu_service_mysql_limits_remain

eu_service_mysql_limits_remain($session_id)

* parameters:

string 'session_id';

* return:

eu_service_mysql_list_db

eu_service_mysql_list_db($session_id)

* parameters:

string 'session_id';

* return:

array {
integer '0' => string 'db_name';

integer '1' => ...

...

}

eu_service_mysql_create_db

eu_service_mysql_create_db($session_id, $db_name)

* parameters:

string 'session_id';

string 'db_name'; // имя БД для создания

* return:

eu_service_mysql_remove_db

eu_service_mysql_remove_db($session_id, $db_name)

* parameters:

string 'session_id';

string 'db_name'; // имя БД для удаления

* return:

eu_service_mysql_version

eu_service_mysql_version($session_id)

* parameters:

string 'session_id';

* return: