Zend_Tool_Project-Providers.xml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Reviewed: no -->
  3. <sect1 id="zend.tool.project.providers">
  4. <title>Zend_Tool Project Providers</title>
  5. <para>
  6. Below is a table of all of the providers shipped with
  7. <classname>Zend_Tool_Project</classname>.
  8. </para>
  9. <table id="zend.tool.project.project-provider">
  10. <title>Project Provider Options</title>
  11. <tgroup cols="4">
  12. <thead>
  13. <row>
  14. <entry>Provider Name</entry>
  15. <entry>Available Actions</entry>
  16. <entry>Parameters</entry>
  17. <entry><acronym>CLI</acronym> Usage</entry>
  18. </row>
  19. </thead>
  20. <tbody>
  21. <row>
  22. <entry>Controller</entry>
  23. <entry>Create</entry>
  24. <entry>create - [name, indexActionIncluded=true]</entry>
  25. <entry><command>zf create controller foo</command></entry>
  26. </row>
  27. <row>
  28. <entry>Action</entry>
  29. <entry>Create</entry>
  30. <entry>create - [name, controllerName=index, viewIncluded=true]</entry>
  31. <entry>
  32. <command>zf create action bar foo</command>
  33. (or <command>zf create action --name bar --controlller-name=foo</command>)
  34. </entry>
  35. </row>
  36. <row>
  37. <entry>Controller</entry>
  38. <entry>Create</entry>
  39. <entry>create - [name, indexActionIncluded=true]</entry>
  40. <entry><command>zf create controller foo</command></entry>
  41. </row>
  42. <row>
  43. <entry>Profile</entry>
  44. <entry>Show</entry>
  45. <entry>show - []</entry>
  46. <entry><command>zf show profile</command></entry>
  47. </row>
  48. <row>
  49. <entry>View</entry>
  50. <entry>Create</entry>
  51. <entry>create - [controllerName,actionNameOrSimpleName]</entry>
  52. <entry>
  53. <command>zf create view foo bar</command>
  54. (or <command>zf create view -c foo -a bar</command>)
  55. </entry>
  56. </row>
  57. <row>
  58. <entry>Test</entry>
  59. <entry>Create / Enable / Disable</entry>
  60. <entry>create - [libraryClassName]</entry>
  61. <entry>
  62. <command>zf create test My_Foo_Baz</command> /
  63. <command>zf disable test</command> /
  64. <command>zf enable test</command>
  65. </entry>
  66. </row>
  67. <row>
  68. <entry>DbTable</entry>
  69. <entry>Create</entry>
  70. <entry>create - [libraryClassName, tableName, ModuleName=null, forceOverwrite=false]</entry>
  71. <entry>
  72. <command>zf create db-table FooClass FooTableName BarModule force-overwrite</command> /
  73. <command>zf create db-table FooClass FooTableName BarModule</command> /
  74. <command>zf create db-table FooClass FooTableName</command> /
  75. <command>zf create db-table FooClass FooTableName --force-overwrite=true</command> /
  76. <command>zf create db-table.from-database BarModule force-overwrite </command> /
  77. <command>zf create db-table.from-database BarModule </command> /
  78. <command>zf create db-table.from-database --force-overwrite=true </command>
  79. </entry>
  80. </row>
  81. </tbody>
  82. </tgroup>
  83. </table>
  84. </sect1>