PHP Class BcManagerShell

Inheritance: extends AppShell
Show file Open project: baserproject/basercms

Public Methods

Method Description
checkenv ( ) 環境チェック
getOptionParser ( ) : void get the option parser
install ( ) インストール
reinstall ( ) 再インストール
reset ( ) reset
startup ( ) startup

Protected Methods

Method Description
_getDbParams ( ) : mixed パラメーターからDBの設定を取得する
_install ( ) インストール
_reset ( ) reset

Method Details

_getDbParams() protected method

パラメーターからDBの設定を取得する
protected _getDbParams ( ) : mixed
return mixed Array Or false

_install() protected method

インストール
protected _install ( )

_reset() protected method

reset
protected _reset ( )

checkenv() public method

cake bc_manager checkenv
public checkenv ( )

getOptionParser() public method

get the option parser
public getOptionParser ( ) : void
return void

install() public method

cake bc_manager install "サイト名" "データベースの種類" "管理者アカウント名" "管理者パスワード" "管理者Eメール" -host "DBホスト名" -database "DB名" -login "DBユーザー名" -password "DBパスワード" -prefix "DBプレフィックス" -port "DBポート" -baseurl "RewriteBaseに設定するURL"
public install ( )

reinstall() public method

コマンドはインストールと同じ
public reinstall ( )

reset() public method

cake bc_manager reset
public reset ( )

startup() public method

startup
public startup ( )