PHP 클래스 YupeCommand

상속: extends yupe\components\ConsoleCommand
파일 보기 프로젝트 열기: yupe/yupe

공개 메소드들

메소드 설명
actionFlush ( ) : boolean Команда для очистки кэша и assets.
actionFlushAssets ( ) : boolean Команда для очистки папки assets.
actionFlushCache ( ) : boolean Команда для очистки кэша.
actionUpdate ( string | null $modules = null, boolean $interactive = true ) : boolean Команда для обновления конфигов и наката миграций.
actionUpdateConfig ( string | null $modules = null, boolean $interactive = true ) : boolean Команда для обновления конфигов модулей.
actionUpdateMigrations ( string | null $modules = null, boolean $interactive = true ) : boolean Команда для применения миграции модулей.

메소드 상세

actionFlush() 공개 메소드

Usage: yiic yupe flush
public actionFlush ( ) : boolean
리턴 boolean

actionFlushAssets() 공개 메소드

Examples: yiic yupe flushAssets
public actionFlushAssets ( ) : boolean
리턴 boolean

actionFlushCache() 공개 메소드

Examples: yiic yupe flushCache
public actionFlushCache ( ) : boolean
리턴 boolean

actionUpdate() 공개 메소드

Examples: yiic yupe update yiic yupe update --modules=comment yiic yupe update --modules=comment,blog,catalog yiic yupe update --modules=comment --interactive=0
public actionUpdate ( string | null $modules = null, boolean $interactive = true ) : boolean
$modules string | null
$interactive boolean
리턴 boolean

actionUpdateConfig() 공개 메소드

Examples: yiic yupe updateConfig yiic yupe updateConfig --modules=yupe yiic yupe updateConfig --modules=yupe,comment,blog yiic yupe updateConfig --modules=yupe --interactive=0
public actionUpdateConfig ( string | null $modules = null, boolean $interactive = true ) : boolean
$modules string | null Module name to update or module names separated by comma.
$interactive boolean Ask before update?
리턴 boolean

actionUpdateMigrations() 공개 메소드

Examples: yiic yupe updateMigrations yiic yupe updateMigrations --modules=yupe yiic yupe updateMigrations --modules=yupe,comment,blog yiic yupe updateMigrations --modules=yupe --interactive=0
public actionUpdateMigrations ( string | null $modules = null, boolean $interactive = true ) : boolean
$modules string | null Module(s) name(s)
$interactive boolean
리턴 boolean