PHP 클래스 Gc\Module\Model

상속: extends Gc\Db\AbstractTable
파일 보기 프로젝트 열기: gotcms/gotcms 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$name string Table name

공개 메소드들

메소드 설명
delete ( ) : boolean Delete module
fromArray ( array $array ) : Model Initialize module from array
fromId ( array $moduleId ) : Model Initiliaze module from id
fromName ( array $moduleName ) : Model Initiliaze module from name
install ( Zend\ModuleManager\ModuleManager $moduleManager, string $moduleName ) : boolean | integer Install module
save ( ) : integer Save Model
uninstall ( AbstractModule $module, Model $model ) : boolean Uninstall from module name

메소드 상세

delete() 공개 메소드

Delete module
public delete ( ) : boolean
리턴 boolean

fromArray() 공개 정적인 메소드

Initialize module from array
public static fromArray ( array $array ) : Model
$array array Data
리턴 Model

fromId() 공개 정적인 메소드

Initiliaze module from id
public static fromId ( array $moduleId ) : Model
$moduleId array Module id
리턴 Model

fromName() 공개 정적인 메소드

Initiliaze module from name
public static fromName ( array $moduleName ) : Model
$moduleName array Module name
리턴 Model

install() 공개 정적인 메소드

Install module
public static install ( Zend\ModuleManager\ModuleManager $moduleManager, string $moduleName ) : boolean | integer
$moduleManager Zend\ModuleManager\ModuleManager Module manager
$moduleName string Module Name
리턴 boolean | integer

save() 공개 메소드

Save Model
public save ( ) : integer
리턴 integer

uninstall() 공개 정적인 메소드

Uninstall from module name
public static uninstall ( AbstractModule $module, Model $model ) : boolean
$module AbstractModule Module
$model Model Module model
리턴 boolean

프로퍼티 상세

$name 보호되어 있는 프로퍼티

Table name
protected string $name
리턴 string