PHP Класс Redaxscript\Installer

С версии: 2.4.0
Автор: Henry Ruhs
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$_config object instance of the config class
$_directory string name of the directory
$_prefixPlaceholder string placeholder for the prefix

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

Метод Описание
__construct ( Config $config ) constructor of the class
init ( string $directory = 'database' ) init the class
insertData ( array $optionArray = null ) insert the data
rawCreate ( ) create from sql
rawDrop ( ) drop from sql

Защищенные методы

Метод Описание
_rawExecute ( string $action = null, string $type = 'mysql' ) execute from sql

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

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

constructor of the class
С версии: 2.6.0
public __construct ( Config $config )
$config Config instance of the config class

_rawExecute() защищенный Метод

execute from sql
С версии: 2.4.0
protected _rawExecute ( string $action = null, string $type = 'mysql' )
$action string action to process
$type string type of the database

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

init the class
С версии: 2.6.0
public init ( string $directory = 'database' )
$directory string name of the directory

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

insert the data
С версии: 2.4.0
public insertData ( array $optionArray = null )
$optionArray array options of the installation

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

create from sql
С версии: 2.4.0
public rawCreate ( )

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

drop from sql
С версии: 2.4.0
public rawDrop ( )

Описание свойств

$_config защищенное свойство

instance of the config class
protected object $_config
Результат object

$_directory защищенное свойство

name of the directory
protected string $_directory
Результат string

$_prefixPlaceholder защищенное свойство

placeholder for the prefix
protected string $_prefixPlaceholder
Результат string