Class I18nShell

Shell for I18N management.

AppShell
Extended by I18nShell
Package: Cake\Console\Command
Copyright: Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
License: MIT License
Location: Cake/Console/Command/I18nShell.php

Properties summary

  • $dataSource public
    string
    Contains database source to use
  • $tasks public
    array
    Contains tasks to load and instantiate

Method Summary

  • Gets the option parser instance and configures it.
  • initdb() public
    Initialize I18N database.
  • main() public
    Override main() for help message hook
  • startup() public
    Override startup of the Shell

Method Detail

getOptionParser()source public

getOptionParser( )

Gets the option parser instance and configures it.

Returns

ConsoleOptionParser

initdb()source public

initdb( )

Initialize I18N database.

main()source public

main( )

Override main() for help message hook

startup()source public

startup( )

Override startup of the Shell

Returns

mixed

Properties detail

$dataSourcesource

public string

Contains database source to use

'default'

$taskssource

public array

Contains tasks to load and instantiate

array('DbConfig', 'Extract')

© 2005–2017 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/2.10/class-I18nShell.html