File: Zend_Tool_Project-Providers.xml

package info (click to toggle)
zendframework 1.12.9%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 133,584 kB
  • sloc: xml: 1,311,829; php: 570,173; sh: 170; makefile: 125; sql: 121
file content (99 lines) | stat: -rw-r--r-- 3,934 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<?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>