PHP 클래스 Redaxscript\Installer

부터: 2.4.0
저자: Henry Ruhs
파일 보기 프로젝트 열기: redaxmedia/redaxscript 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_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