PHP Class YupeCommand

Inheritance: extends yupe\components\ConsoleCommand
Show file Open project: yupe/yupe

Public Methods

Method Description
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 Команда для применения миграции модулей.

Method Details

actionFlush() public method

Usage: yiic yupe flush
public actionFlush ( ) : boolean
return boolean

actionFlushAssets() public method

Examples: yiic yupe flushAssets
public actionFlushAssets ( ) : boolean
return boolean

actionFlushCache() public method

Examples: yiic yupe flushCache
public actionFlushCache ( ) : boolean
return boolean

actionUpdate() public method

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
return boolean

actionUpdateConfig() public method

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?
return boolean

actionUpdateMigrations() public method

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
return boolean