PHP Класс Prose\UsingRuntimeTable

Автор: Michael Heap ([email protected])
Наследование: extends BaseRuntimeTable
Показать файл Открыть проект

Открытые методы

Метод Описание
addItem ( string $key, mixed $value ) : void addItem
addItemToGroup ( $group, string $key, string $value ) : void Add an item to a module's runtime config table
removeItem ( string $key ) : void removeItem
removeItemFromAllGroups ( string $key ) : void Removes an item from the runtimeConfig file
removeItemFromGroup ( $group, string $key ) : void Removes an item from the runtimeConfig file

Описание методов

addItem() публичный Метод

Add an item to a module's runtime config table
public addItem ( string $key, mixed $value ) : void
$key string The key to save data under
$value mixed The value to save
Результат void

addItemToGroup() публичный Метод

Add an item to a module's runtime config table
public addItemToGroup ( $group, string $key, string $value ) : void
$key string The key to save data under
$value string The value to save
Результат void

removeItem() публичный Метод

Removes an item from the runtimeConfig file
public removeItem ( string $key ) : void
$key string The key that we want to remove
Результат void

removeItemFromAllGroups() публичный Метод

Removes an item from the runtimeConfig file
public removeItemFromAllGroups ( string $key ) : void
$key string The key that we want to remove
Результат void

removeItemFromGroup() публичный Метод

Removes an item from the runtimeConfig file
public removeItemFromGroup ( $group, string $key ) : void
$key string The key that we want to remove
Результат void