|
@@ -27,14 +27,11 @@
|
|
|
<para>
|
|
<para>
|
|
|
First download Zend Framework. This can be done by going to framework.zend.com
|
|
First download Zend Framework. This can be done by going to framework.zend.com
|
|
|
and downloading the latest release. After you've downloaded the package and placed
|
|
and downloading the latest release. After you've downloaded the package and placed
|
|
|
- it on your system. The next step is to make the zf command available to your system.
|
|
|
|
|
- The easiest way to do this, is to copy the proper files from the bin/ directory
|
|
|
|
|
- of the download, and place these files within the <emphasis>same</emphasis> directory
|
|
|
|
|
- as the location of the php cli binary.
|
|
|
|
|
|
|
+ it on your system. The next step is to make the zf command available to your
|
|
|
|
|
+ system. The easiest way to do this, is to copy the proper files from the bin/
|
|
|
|
|
+ directory of the download, and place these files within the
|
|
|
|
|
+ <emphasis>same</emphasis> directory as the location of the php cli binary.
|
|
|
</para>
|
|
</para>
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
</sect3>
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3 id="zend.tool.usage.cli.installation.pear">
|
|
<sect3 id="zend.tool.usage.cli.installation.pear">
|
|
@@ -43,10 +40,10 @@
|
|
|
<para>
|
|
<para>
|
|
|
To install via PEAR, you must use the 3rd party zfcampus.org site to retrieve the
|
|
To install via PEAR, you must use the 3rd party zfcampus.org site to retrieve the
|
|
|
latest Zend Framework PEAR package. These packages are typically built within a day
|
|
latest Zend Framework PEAR package. These packages are typically built within a day
|
|
|
- of an official Zend Framework release. The benefit of installing via the PEAR package
|
|
|
|
|
- manager is that during the install process, the ZF library will end up on the
|
|
|
|
|
- include_path, and the zf.php and zf scripts will end up in a place on your system
|
|
|
|
|
- that will allow you to run them without any additional setup.
|
|
|
|
|
|
|
+ of an official Zend Framework release. The benefit of installing via the PEAR
|
|
|
|
|
+ package manager is that during the install process, the ZF library will end up on
|
|
|
|
|
+ the include_path, and the zf.php and zf scripts will end up in a place on your
|
|
|
|
|
+ system that will allow you to run them without any additional setup.
|
|
|
</para>
|
|
</para>
|
|
|
|
|
|
|
|
<programlisting language="text"><![CDATA[
|
|
<programlisting language="text"><![CDATA[
|
|
@@ -59,7 +56,6 @@ pear install zfcampus/zf
|
|
|
running the zf command. Go good way to check to see if it't there is to run
|
|
running the zf command. Go good way to check to see if it't there is to run
|
|
|
zf --help
|
|
zf --help
|
|
|
</para>
|
|
</para>
|
|
|
-
|
|
|
|
|
</sect3>
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3 id="zend.tool.usage.cli.installation.install-by-hand">
|
|
<sect3 id="zend.tool.usage.cli.installation.install-by-hand">
|
|
@@ -73,8 +69,8 @@ pear install zfcampus/zf
|
|
|
</para>
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
<para>
|
|
|
- If you are on a *nix or mac system, you can also create a link from somewhere in your
|
|
|
|
|
- path to the zf.sh file. If you do this, you do not need to worry about having
|
|
|
|
|
|
|
+ If you are on a *nix or mac system, you can also create a link from somewhere in
|
|
|
|
|
+ your path to the zf.sh file. If you do this, you do not need to worry about having
|
|
|
Zend Framework's library on your include_path, as the zf.php and zf.sh files will
|
|
Zend Framework's library on your include_path, as the zf.php and zf.sh files will
|
|
|
be able to access the library relative to where they are (meaning the ./bin/ files
|
|
be able to access the library relative to where they are (meaning the ./bin/ files
|
|
|
are ../library/ relative to the Zend Framework library).
|
|
are ../library/ relative to the Zend Framework library).
|
|
@@ -82,14 +78,12 @@ pear install zfcampus/zf
|
|
|
|
|
|
|
|
<para>
|
|
<para>
|
|
|
There are a number of other options available for setting up the zf.php and library
|
|
There are a number of other options available for setting up the zf.php and library
|
|
|
- on your system. These options revolve around setting specific environment variables.
|
|
|
|
|
- These are described in the later section on "customizing the CLI environement". The
|
|
|
|
|
- environment variables for setting the zf.php include_path, ZF_INCLUDE_PATH and
|
|
|
|
|
- ZF_INCLUDE_PATH_PREPEND, are the ones of most interest.
|
|
|
|
|
|
|
+ on your system. These options revolve around setting specific environment
|
|
|
|
|
+ variables. These are described in the later section on "customizing the CLI
|
|
|
|
|
+ environement". The environment variables for setting the zf.php include_path,
|
|
|
|
|
+ ZF_INCLUDE_PATH and ZF_INCLUDE_PATH_PREPEND, are the ones of most interest.
|
|
|
</para>
|
|
</para>
|
|
|
-
|
|
|
|
|
</sect3>
|
|
</sect3>
|
|
|
-
|
|
|
|
|
</sect2>
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 id="zend.tool.usage.cli.general-purpose-commands">
|
|
<sect2 id="zend.tool.usage.cli.general-purpose-commands">
|
|
@@ -99,24 +93,24 @@ pear install zfcampus/zf
|
|
|
<title>Version</title>
|
|
<title>Version</title>
|
|
|
|
|
|
|
|
<para>
|
|
<para>
|
|
|
- This will show the current version number of the copy of Zend Framework the zf.php tool is using.
|
|
|
|
|
|
|
+ This will show the current version number of the copy of Zend Framework the zf.php
|
|
|
|
|
+ tool is using.
|
|
|
</para>
|
|
</para>
|
|
|
|
|
|
|
|
<programlisting language="text"><![CDATA[
|
|
<programlisting language="text"><![CDATA[
|
|
|
zf show version
|
|
zf show version
|
|
|
]]></programlisting>
|
|
]]></programlisting>
|
|
|
-
|
|
|
|
|
</sect3>
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3 id="zend.tool.usage.cli.general-purpose-commands.built-in-help">
|
|
<sect3 id="zend.tool.usage.cli.general-purpose-commands.built-in-help">
|
|
|
<title>Built-in Help</title>
|
|
<title>Built-in Help</title>
|
|
|
|
|
|
|
|
<para>
|
|
<para>
|
|
|
- The built-in help system is the primary place where you can get up-to-date information
|
|
|
|
|
- on what your system is capable of doing. The help system is dynamic in that as providers
|
|
|
|
|
- are added to your system, they are automatically dispatchable, and as such, the parameters
|
|
|
|
|
- required to run them will be in the help screen. The easiest way to retrieve the help
|
|
|
|
|
- screen is the following:
|
|
|
|
|
|
|
+ The built-in help system is the primary place where you can get up-to-date
|
|
|
|
|
+ information on what your system is capable of doing. The help system is dynamic in
|
|
|
|
|
+ that as providers are added to your system, they are automatically dispatchable, and
|
|
|
|
|
+ as such, the parameters required to run them will be in the help screen. The
|
|
|
|
|
+ easiest way to retrieve the help screen is the following:
|
|
|
</para>
|
|
</para>
|
|
|
|
|
|
|
|
<programlisting language="text"><![CDATA[
|
|
<programlisting language="text"><![CDATA[
|
|
@@ -124,11 +118,12 @@ zf --help
|
|
|
]]></programlisting>
|
|
]]></programlisting>
|
|
|
|
|
|
|
|
<para>
|
|
<para>
|
|
|
- This will give you an overview of the various capabilities of the system. Sometimes, there
|
|
|
|
|
- are more finite commands than can be run, and to gain more information about these, you might
|
|
|
|
|
- have to run a more specialized help command. For specialized help, simply replace any of the
|
|
|
|
|
- elements of the command with a "?". This will tell the help system that you want more
|
|
|
|
|
- information about what commands can go in place of the question mark. For example:
|
|
|
|
|
|
|
+ This will give you an overview of the various capabilities of the system.
|
|
|
|
|
+ Sometimes, there are more finite commands than can be run, and to gain more
|
|
|
|
|
+ information about these, you might have to run a more specialized help command.
|
|
|
|
|
+ For specialized help, simply replace any of the elements of the command with a "?".
|
|
|
|
|
+ This will tell the help system that you want more information about what commands
|
|
|
|
|
+ can go in place of the question mark. For example:
|
|
|
</para>
|
|
</para>
|
|
|
|
|
|
|
|
<programlisting language="text"><![CDATA[
|
|
<programlisting language="text"><![CDATA[
|
|
@@ -136,7 +131,8 @@ zf ? controller
|
|
|
]]></programlisting>
|
|
]]></programlisting>
|
|
|
|
|
|
|
|
<para>
|
|
<para>
|
|
|
- The above means "show me all 'actions' for the provider 'controller'"; while the following:
|
|
|
|
|
|
|
+ The above means "show me all 'actions' for the provider 'controller'"; while the
|
|
|
|
|
+ following:
|
|
|
</para>
|
|
</para>
|
|
|
|
|
|
|
|
<programlisting language="text"><![CDATA[
|
|
<programlisting language="text"><![CDATA[
|
|
@@ -144,29 +140,27 @@ zf show ?
|
|
|
]]></programlisting>
|
|
]]></programlisting>
|
|
|
|
|
|
|
|
<para>
|
|
<para>
|
|
|
- means "show me all providers that support the 'show' action". This works for drilling down
|
|
|
|
|
- into options as well as you can see in the following examples:
|
|
|
|
|
|
|
+ means "show me all providers that support the 'show' action". This works for
|
|
|
|
|
+ drilling down into options as well as you can see in the following examples:
|
|
|
</para>
|
|
</para>
|
|
|
|
|
|
|
|
<programlisting language="text"><![CDATA[
|
|
<programlisting language="text"><![CDATA[
|
|
|
zf show version.? (show any specialties)
|
|
zf show version.? (show any specialties)
|
|
|
zf show version ? (show any options)
|
|
zf show version ? (show any options)
|
|
|
]]></programlisting>
|
|
]]></programlisting>
|
|
|
-
|
|
|
|
|
</sect3>
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3 id="zend.tool.usage.cli.general-purpose-commands.manifest">
|
|
<sect3 id="zend.tool.usage.cli.general-purpose-commands.manifest">
|
|
|
<title>Manifest</title>
|
|
<title>Manifest</title>
|
|
|
|
|
|
|
|
<para>
|
|
<para>
|
|
|
- This will show what information is in the tooling systems manifest. This is more important
|
|
|
|
|
- for provider developers than casual users of the tooling system.
|
|
|
|
|
|
|
+ This will show what information is in the tooling systems manifest. This is more
|
|
|
|
|
+ important for provider developers than casual users of the tooling system.
|
|
|
</para>
|
|
</para>
|
|
|
|
|
|
|
|
<programlisting language="text"><![CDATA[
|
|
<programlisting language="text"><![CDATA[
|
|
|
zf show manifest
|
|
zf show manifest
|
|
|
]]></programlisting>
|
|
]]></programlisting>
|
|
|
-
|
|
|
|
|
</sect3>
|
|
</sect3>
|
|
|
|
|
|
|
|
<!--
|
|
<!--
|
|
@@ -177,7 +171,6 @@ zf show manifest
|
|
|
|
|
|
|
|
</sect3>
|
|
</sect3>
|
|
|
-->
|
|
-->
|
|
|
-
|
|
|
|
|
</sect2>
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 id="zend.tool.usage.cli.project-specific-commands">
|
|
<sect2 id="zend.tool.usage.cli.project-specific-commands">
|
|
@@ -187,9 +180,9 @@ zf show manifest
|
|
|
<title>Project</title>
|
|
<title>Project</title>
|
|
|
|
|
|
|
|
<para>
|
|
<para>
|
|
|
- The project provider is the first command you might want to run. This will setup the basic
|
|
|
|
|
- structure of your application. This is required before any of the other providers can
|
|
|
|
|
- be executed.
|
|
|
|
|
|
|
+ The project provider is the first command you might want to run. This will setup the
|
|
|
|
|
+ basic structure of your application. This is required before any of the other
|
|
|
|
|
+ providers can be executed.
|
|
|
</para>
|
|
</para>
|
|
|
|
|
|
|
|
<programlisting language="text"><![CDATA[
|
|
<programlisting language="text"><![CDATA[
|
|
@@ -197,24 +190,22 @@ zf create project MyProjectName
|
|
|
]]></programlisting>
|
|
]]></programlisting>
|
|
|
|
|
|
|
|
<para>
|
|
<para>
|
|
|
- This will create a project in a directory called ./MyProjectName. From this point on,
|
|
|
|
|
- it is important to note that any subsequent commands on the command line must be issued
|
|
|
|
|
- from within the project directory you had just created. So, after creation, changing into
|
|
|
|
|
- that directory is required.
|
|
|
|
|
|
|
+ This will create a project in a directory called ./MyProjectName. From this point
|
|
|
|
|
+ on, it is important to note that any subsequent commands on the command line must be
|
|
|
|
|
+ issued from within the project directory you had just created. So, after creation,
|
|
|
|
|
+ changing into that directory is required.
|
|
|
</para>
|
|
</para>
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
</sect3>
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3 id="zend.tool.usage.cli.project-specific-commands.module">
|
|
<sect3 id="zend.tool.usage.cli.project-specific-commands.module">
|
|
|
<title>Project</title>
|
|
<title>Project</title>
|
|
|
|
|
|
|
|
<para>
|
|
<para>
|
|
|
- The module provider allows for the easy creation of a Zend Framework module. A module
|
|
|
|
|
- follows the hMVC pattern loosely. When creating modules, it will take the same structure
|
|
|
|
|
- used at the application/ level, and duplicate it inside of the chosen name for your module,
|
|
|
|
|
- inside of the "modules" directory of the application/ directory without duplicating the
|
|
|
|
|
- modules directory itself. For example:
|
|
|
|
|
|
|
+ The module provider allows for the easy creation of a Zend Framework module. A
|
|
|
|
|
+ module follows the hMVC pattern loosely. When creating modules, it will take the
|
|
|
|
|
+ same structure used at the application/ level, and duplicate it inside of the chosen
|
|
|
|
|
+ name for your module, inside of the "modules" directory of the application/
|
|
|
|
|
+ directory without duplicating the modules directory itself. For example:
|
|
|
</para>
|
|
</para>
|
|
|
|
|
|
|
|
<programlisting language="text"><![CDATA[
|
|
<programlisting language="text"><![CDATA[
|
|
@@ -222,20 +213,18 @@ zf create module Blog
|
|
|
]]></programlisting>
|
|
]]></programlisting>
|
|
|
|
|
|
|
|
<para>
|
|
<para>
|
|
|
- This will create a module named Blog at application/modules/Blog, and all of the artifacts
|
|
|
|
|
- that a module will need.
|
|
|
|
|
|
|
+ This will create a module named Blog at application/modules/Blog, and all of the
|
|
|
|
|
+ artifacts that a module will need.
|
|
|
</para>
|
|
</para>
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
</sect3>
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3 id="zend.tool.usage.cli.project-specific-commands.controller">
|
|
<sect3 id="zend.tool.usage.cli.project-specific-commands.controller">
|
|
|
<title>Controller</title>
|
|
<title>Controller</title>
|
|
|
|
|
|
|
|
<para>
|
|
<para>
|
|
|
- The controller provider is responsible for creating (mostly) empty controllers as well
|
|
|
|
|
- as their corresponding view script directories and files. To utilize it to create
|
|
|
|
|
- an 'Auth' controlller, for example, execute:
|
|
|
|
|
|
|
+ The controller provider is responsible for creating (mostly) empty controllers as
|
|
|
|
|
+ well as their corresponding view script directories and files. To utilize it to
|
|
|
|
|
+ create an 'Auth' controlller, for example, execute:
|
|
|
</para>
|
|
</para>
|
|
|
|
|
|
|
|
<programlisting language="text"><![CDATA[
|
|
<programlisting language="text"><![CDATA[
|
|
@@ -257,7 +246,6 @@ zf create controller Post --module=Blog
|
|
|
<para>
|
|
<para>
|
|
|
Note: In the first command, 1 is the value for the "includeIndexAction" flag.
|
|
Note: In the first command, 1 is the value for the "includeIndexAction" flag.
|
|
|
</para>
|
|
</para>
|
|
|
-
|
|
|
|
|
</sect3>
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3 id="zend.tool.usage.cli.project-specific-commands.action">
|
|
<sect3 id="zend.tool.usage.cli.project-specific-commands.action">
|
|
@@ -272,7 +260,6 @@ zf create action login Auth
|
|
|
zf create action login -c Auth
|
|
zf create action login -c Auth
|
|
|
zf create action login --controller-name=Auth
|
|
zf create action login --controller-name=Auth
|
|
|
]]></programlisting>
|
|
]]></programlisting>
|
|
|
-
|
|
|
|
|
</sect3>
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3 id="zend.tool.usage.cli.project-specific-commands.view">
|
|
<sect3 id="zend.tool.usage.cli.project-specific-commands.view">
|
|
@@ -291,7 +278,6 @@ zf create view -c Auth -a my-script-name
|
|
|
<para>
|
|
<para>
|
|
|
This will create a view script in the controller folder of Auth.
|
|
This will create a view script in the controller folder of Auth.
|
|
|
</para>
|
|
</para>
|
|
|
-
|
|
|
|
|
</sect3>
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3 id="zend.tool.usage.cli.project-specific-commands.model">
|
|
<sect3 id="zend.tool.usage.cli.project-specific-commands.model">
|
|
@@ -317,7 +303,6 @@ zf create model Post -m Blog
|
|
|
<para>
|
|
<para>
|
|
|
The above will create a 'Post' model inside of the 'Blog' module.
|
|
The above will create a 'Post' model inside of the 'Blog' module.
|
|
|
</para>
|
|
</para>
|
|
|
-
|
|
|
|
|
</sect3>
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3 id="zend.tool.usage.cli.project-specific-commands.form">
|
|
<sect3 id="zend.tool.usage.cli.project-specific-commands.form">
|
|
@@ -354,19 +339,21 @@ zf create form Comment -m Blog
|
|
|
</para>
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
<para>
|
|
|
-
|
|
|
|
|
For example, to enter the following information:
|
|
For example, to enter the following information:
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
|
<listitem>
|
|
<listitem>
|
|
|
<para>adapter: Pdo_Mysql</para>
|
|
<para>adapter: Pdo_Mysql</para>
|
|
|
</listitem>
|
|
</listitem>
|
|
|
|
|
+
|
|
|
<listitem>
|
|
<listitem>
|
|
|
<para>username: test</para>
|
|
<para>username: test</para>
|
|
|
</listitem>
|
|
</listitem>
|
|
|
|
|
+
|
|
|
<listitem>
|
|
<listitem>
|
|
|
<para>password: test</para>
|
|
<para>password: test</para>
|
|
|
</listitem>
|
|
</listitem>
|
|
|
|
|
+
|
|
|
<listitem>
|
|
<listitem>
|
|
|
<para>dbname: test </para>
|
|
<para>dbname: test </para>
|
|
|
</listitem>
|
|
</listitem>
|
|
@@ -391,7 +378,6 @@ zf configure dbadapter "adapter=Pdo_Mysql&username=test&password=test&dbname=tes
|
|
|
zf configure dbadapter "adapter=Pdo_Sqlite&dbname=../data/test.db" development
|
|
zf configure dbadapter "adapter=Pdo_Sqlite&dbname=../data/test.db" development
|
|
|
zf configure dbadapter "adapter=Pdo_Sqlite&dbname=../data/test.db" -s development
|
|
zf configure dbadapter "adapter=Pdo_Sqlite&dbname=../data/test.db" -s development
|
|
|
]]></programlisting>
|
|
]]></programlisting>
|
|
|
-
|
|
|
|
|
</sect3>
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3 id="zend.tool.usage.cli.project-specific-commands.db-table">
|
|
<sect3 id="zend.tool.usage.cli.project-specific-commands.db-table">
|
|
@@ -432,7 +418,6 @@ zf create dbtable.from-database
|
|
|
<programlisting language="text"><![CDATA[
|
|
<programlisting language="text"><![CDATA[
|
|
|
zf -p create dbtable.from-database
|
|
zf -p create dbtable.from-database
|
|
|
]]></programlisting>
|
|
]]></programlisting>
|
|
|
-
|
|
|
|
|
</sect3>
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3 id="zend.tool.usage.cli.project-specific-commands.layout">
|
|
<sect3 id="zend.tool.usage.cli.project-specific-commands.layout">
|
|
@@ -447,9 +432,7 @@ zf -p create dbtable.from-database
|
|
|
<programlisting language="text"><![CDATA[
|
|
<programlisting language="text"><![CDATA[
|
|
|
zf enable layout
|
|
zf enable layout
|
|
|
]]></programlisting>
|
|
]]></programlisting>
|
|
|
-
|
|
|
|
|
</sect3>
|
|
</sect3>
|
|
|
-
|
|
|
|
|
</sect2>
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 id="zend.tool.usage.cli.environment-customization">
|
|
<sect2 id="zend.tool.usage.cli.environment-customization">
|
|
@@ -467,7 +450,6 @@ zf enable layout
|
|
|
<programlisting language="text"><![CDATA[
|
|
<programlisting language="text"><![CDATA[
|
|
|
zf --setup storage-directory
|
|
zf --setup storage-directory
|
|
|
]]></programlisting>
|
|
]]></programlisting>
|
|
|
-
|
|
|
|
|
</sect3>
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3 id="zend.tool.usage.cli.environment-customization.configuration-file">
|
|
<sect3 id="zend.tool.usage.cli.environment-customization.configuration-file">
|
|
@@ -483,7 +465,6 @@ zf --setup storage-directory
|
|
|
<programlisting language="text"><![CDATA[
|
|
<programlisting language="text"><![CDATA[
|
|
|
zf --setup config-file
|
|
zf --setup config-file
|
|
|
]]></programlisting>
|
|
]]></programlisting>
|
|
|
-
|
|
|
|
|
</sect3>
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3 id="zend.tool.usage.cli.environment-customization.environment-locations">
|
|
<sect3 id="zend.tool.usage.cli.environment-customization.environment-locations">
|
|
@@ -497,11 +478,17 @@ zf --setup config-file
|
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
|
<listitem>
|
|
<listitem>
|
|
|
<para>ZF_HOME</para>
|
|
<para>ZF_HOME</para>
|
|
|
|
|
+
|
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
|
- <listitem><para>the directory this tool will look for a home directory</para></listitem>
|
|
|
|
|
|
|
+ <listitem>
|
|
|
|
|
+ <para>the directory this tool will look for a home directory</para>
|
|
|
|
|
+ </listitem>
|
|
|
|
|
+
|
|
|
<listitem><para>directory must exist</para></listitem>
|
|
<listitem><para>directory must exist</para></listitem>
|
|
|
|
|
+
|
|
|
<listitem>
|
|
<listitem>
|
|
|
<para>search order:</para>
|
|
<para>search order:</para>
|
|
|
|
|
+
|
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
|
<listitem><para>ZF_HOME environment variable</para></listitem>
|
|
<listitem><para>ZF_HOME environment variable</para></listitem>
|
|
|
<listitem><para>HOME environment variable</para></listitem>
|
|
<listitem><para>HOME environment variable</para></listitem>
|
|
@@ -510,58 +497,97 @@ zf --setup config-file
|
|
|
</listitem>
|
|
</listitem>
|
|
|
</itemizedlist>
|
|
</itemizedlist>
|
|
|
</listitem>
|
|
</listitem>
|
|
|
|
|
+
|
|
|
<listitem>
|
|
<listitem>
|
|
|
<para>ZF_STORAGE_DIRECTORY</para>
|
|
<para>ZF_STORAGE_DIRECTORY</para>
|
|
|
|
|
+
|
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
|
- <listitem><para>where this tool will look for a storage directory</para></listitem>
|
|
|
|
|
|
|
+ <listitem>
|
|
|
|
|
+ <para>where this tool will look for a storage directory</para>
|
|
|
|
|
+ </listitem>
|
|
|
|
|
+
|
|
|
<listitem><para>directory must exist</para></listitem>
|
|
<listitem><para>directory must exist</para></listitem>
|
|
|
|
|
+
|
|
|
<listitem>
|
|
<listitem>
|
|
|
<para>search order:</para>
|
|
<para>search order:</para>
|
|
|
|
|
+
|
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
|
- <listitem><para>ZF_STORAGE_DIRECTORY environment variable</para></listitem>
|
|
|
|
|
|
|
+ <listitem>
|
|
|
|
|
+ <para>ZF_STORAGE_DIRECTORY environment variable</para>
|
|
|
|
|
+ </listitem>
|
|
|
|
|
+
|
|
|
<listitem><para>$homeDirectory/.zf/ directory</para></listitem>
|
|
<listitem><para>$homeDirectory/.zf/ directory</para></listitem>
|
|
|
</itemizedlist>
|
|
</itemizedlist>
|
|
|
</listitem>
|
|
</listitem>
|
|
|
</itemizedlist>
|
|
</itemizedlist>
|
|
|
</listitem>
|
|
</listitem>
|
|
|
|
|
+
|
|
|
<listitem>
|
|
<listitem>
|
|
|
<para>ZF_CONFIG_FILE</para>
|
|
<para>ZF_CONFIG_FILE</para>
|
|
|
|
|
+
|
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
|
- <listitem><para>where this tool will look for a configuration file</para></listitem>
|
|
|
|
|
|
|
+ <listitem>
|
|
|
|
|
+ <para>where this tool will look for a configuration file</para>
|
|
|
|
|
+ </listitem>
|
|
|
|
|
+
|
|
|
<listitem>
|
|
<listitem>
|
|
|
<para>search order:</para>
|
|
<para>search order:</para>
|
|
|
|
|
+
|
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
|
- <listitem><para>ZF_CONFIG_FILE environment variable</para></listitem>
|
|
|
|
|
- <listitem><para>$homeDirectory/.zf.ini file if it exists</para></listitem>
|
|
|
|
|
- <listitem><para>$storageDirectory/zf.ini file if it exists</para></listitem>
|
|
|
|
|
|
|
+ <listitem>
|
|
|
|
|
+ <para>ZF_CONFIG_FILE environment variable</para>
|
|
|
|
|
+ </listitem>
|
|
|
|
|
+
|
|
|
|
|
+ <listitem>
|
|
|
|
|
+ <para>$homeDirectory/.zf.ini file if it exists</para>
|
|
|
|
|
+ </listitem>
|
|
|
|
|
+
|
|
|
|
|
+ <listitem>
|
|
|
|
|
+ <para>$storageDirectory/zf.ini file if it exists</para>
|
|
|
|
|
+ </listitem>
|
|
|
</itemizedlist>
|
|
</itemizedlist>
|
|
|
</listitem>
|
|
</listitem>
|
|
|
</itemizedlist>
|
|
</itemizedlist>
|
|
|
</listitem>
|
|
</listitem>
|
|
|
|
|
+
|
|
|
<listitem>
|
|
<listitem>
|
|
|
<para>ZF_INCLUDE_PATH</para>
|
|
<para>ZF_INCLUDE_PATH</para>
|
|
|
|
|
+
|
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
|
- <listitem><para>set the include_path for this tool to use this value</para></listitem>
|
|
|
|
|
|
|
+ <listitem>
|
|
|
|
|
+ <para>set the include_path for this tool to use this value</para>
|
|
|
|
|
+ </listitem>
|
|
|
|
|
+
|
|
|
<listitem>
|
|
<listitem>
|
|
|
<para>original behavior:</para>
|
|
<para>original behavior:</para>
|
|
|
|
|
+
|
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
|
<listitem><para>use php's include_path to find ZF</para></listitem>
|
|
<listitem><para>use php's include_path to find ZF</para></listitem>
|
|
|
- <listitem><para>use the ZF_INCLUDE_PATH environment variable</para></listitem>
|
|
|
|
|
- <listitem><para>use the path ../library (relative to zf.php) to find ZF</para></listitem>
|
|
|
|
|
|
|
+
|
|
|
|
|
+ <listitem>
|
|
|
|
|
+ <para>use the ZF_INCLUDE_PATH environment variable</para>
|
|
|
|
|
+ </listitem>
|
|
|
|
|
+
|
|
|
|
|
+ <listitem>
|
|
|
|
|
+ <para>
|
|
|
|
|
+ use the path ../library (relative to zf.php) to find ZF
|
|
|
|
|
+ </para>
|
|
|
|
|
+ </listitem>
|
|
|
</itemizedlist>
|
|
</itemizedlist>
|
|
|
</listitem>
|
|
</listitem>
|
|
|
</itemizedlist>
|
|
</itemizedlist>
|
|
|
</listitem>
|
|
</listitem>
|
|
|
|
|
+
|
|
|
<listitem>
|
|
<listitem>
|
|
|
<para>ZF_INCLUDE_PATH_PREPEND</para>
|
|
<para>ZF_INCLUDE_PATH_PREPEND</para>
|
|
|
|
|
+
|
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
|
- <listitem><para>prepend the current php.ini include_path with this value</para></listitem>
|
|
|
|
|
|
|
+ <listitem>
|
|
|
|
|
+ <para>prepend the current php.ini include_path with this value</para>
|
|
|
|
|
+ </listitem>
|
|
|
</itemizedlist>
|
|
</itemizedlist>
|
|
|
</listitem>
|
|
</listitem>
|
|
|
</itemizedlist>
|
|
</itemizedlist>
|
|
|
-
|
|
|
|
|
</sect3>
|
|
</sect3>
|
|
|
-
|
|
|
|
|
</sect2>
|
|
</sect2>
|
|
|
-
|
|
|
|
|
-</sect1>
|
|
|
|
|
|
|
+</sect1>
|