| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!-- Reviewed: no -->
- <sect1 id="zend.tool.project.providers">
- <title>Zend_Tool Project Providers</title>
- <para>
- Below is a table of all of the providers shipped with
- <classname>Zend_Tool_Project</classname>.
- </para>
- <table id="zend.tool.project.project-provider">
- <title>Project Provider Options</title>
- <tgroup cols="4">
- <thead>
- <row>
- <entry>Provider Name</entry>
- <entry>Available Actions</entry>
- <entry>Parameters</entry>
- <entry><acronym>CLI</acronym> Usage</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>Controller</entry>
- <entry>Create</entry>
- <entry>create - [name, indexActionIncluded=true]</entry>
- <entry><command>zf create controller foo</command></entry>
- </row>
- <row>
- <entry>Action</entry>
- <entry>Create</entry>
- <entry>create - [name, controllerName=index, viewIncluded=true]</entry>
- <entry>
- <command>zf create action bar foo</command>
- (or <command>zf create action --name bar --controlller-name=foo</command>)
- </entry>
- </row>
- <row>
- <entry>Controller</entry>
- <entry>Create</entry>
- <entry>create - [name, indexActionIncluded=true]</entry>
- <entry><command>zf create controller foo</command></entry>
- </row>
- <row>
- <entry>Profile</entry>
- <entry>Show</entry>
- <entry>show - []</entry>
- <entry><command>zf show profile</command></entry>
- </row>
- <row>
- <entry>View</entry>
- <entry>Create</entry>
- <entry>create - [controllerName,actionNameOrSimpleName]</entry>
- <entry>
- <command>zf create view foo bar</command>
- (or <command>zf create view -c foo -a bar</command>)
- </entry>
- </row>
- <row>
- <entry>Test</entry>
- <entry>Create / Enable / Disable</entry>
- <entry>create - [libraryClassName]</entry>
- <entry>
- <command>zf create test My_Foo_Baz</command> /
- <command>zf disable test</command> /
- <command>zf enable test</command>
- </entry>
- </row>
- <row>
- <entry>DbTable</entry>
- <entry>Create</entry>
- <entry>create - [libraryClassName, tableName, ModuleName=null, forceOverwrite=false]</entry>
- <entry>
- <command>zf create db-table FooClass FooTableName BarModule force-overwrite</command> /
- <command>zf create db-table FooClass FooTableName BarModule</command> /
- <command>zf create db-table FooClass FooTableName</command> /
- <command>zf create db-table FooClass FooTableName --force-overwrite=true</command> /
- <command>zf create db-table.from-database BarModule force-overwrite </command> /
- <command>zf create db-table.from-database BarModule </command> /
- <command>zf create db-table.from-database --force-overwrite=true </command>
- </entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- </sect1>
|