defined is a special operator that takes the form of a method callto determin whether or
not the passed expression is defined. it returns a descriptionstring of the expression, or
nil if the expression is not defined. the :: is a unary operatorthat allows:constants,instance
methods and class methods defined within a class or module ,to beaccessed from
anywhere outside the class or module.
zend_view is a class for working with the view portion of themodel-view-controll
pattern.Essentially, using zend_view happens in two major steps: 1.your controller
creates an instance of zend_view and assaign variables to thatinstance.2.the controller
tells the zend_view to render a particular view, thereby handingcontrol over the view
script,which generates the view output.
zend_view has several options that may be set to configure thebehaviour of your view
scripts:
#basePath: indicate a base path from which to set the script,helperand filter path;
#encoding: indicate the character encoding to use withhtmlentities, htmlspecialchars()
and other operations.
#escape: indicate a callback to be used by escape;
#filter: include a filter to use after rendering a viewscript.
Typically, you will only ever need to call on assign(), render(),or one of the methods for
setting/adding filter,helper,and script paths.
Once your controller has assigned variables and called render(),zend_view then includes
the requested view script and executes it inside the scope of thezend_view
instance.Therefore, in your view scripts, reference to $thisactually point to the zend_view
instance itself.
zend_config is designed to simplify the access to, and the use ofconfiguration data within
application. It provides a nested object property based userinterface for accessing this
configuration data within application code.The configuration datamay come from a variety
of media supporting hierarchical data storage.Currently zend_configprovides adapter for
configuration data that are stored in text files withzend_config_ini and zend_config_xml.
The zend_db_select object represents a sql select query statement.The class has
methods for adding individual parts to the query.You can specifysome parts of the query
using php methods and data structures, and the class forms thecorrect sql syntax for
you.After you build a query, you can execute the query as if youhad written it as string.
The value offered by zend_db_select includes:
*object-oriented methods for specifying sql queries in apiece-by-piece manner;
*quoting identifiers and values, to help reduce risk of sql injectattacks.
not the passed expression is defined. it returns a descriptionstring of the expression, or
nil if the expression is not defined. the :: is a unary operatorthat allows:constants,instance
methods and class methods defined within a class or module ,to beaccessed from
anywhere outside the class or module.
zend_view is a class for working with the view portion of themodel-view-controll
pattern.Essentially, using zend_view happens in two major steps: 1.your controller
creates an instance of zend_view and assaign variables to thatinstance.2.the controller
tells the zend_view to render a particular view, thereby handingcontrol over the view
script,which generates the view output.
zend_view has several options that may be set to configure thebehaviour of your view
scripts:
#basePath: indicate a base path from which to set the script,helperand filter path;
#encoding: indicate the character encoding to use withhtmlentities, htmlspecialchars()
and other operations.
#escape: indicate a callback to be used by escape;
#filter: include a filter to use after rendering a viewscript.
Typically, you will only ever need to call on assign(), render(),or one of the methods for
setting/adding filter,helper,and script paths.
Once your controller has assigned variables and called render(),zend_view then includes
the requested view script and executes it inside the scope of thezend_view
instance.Therefore, in your view scripts, reference to $thisactually point to the zend_view
instance itself.
zend_config is designed to simplify the access to, and the use ofconfiguration data within
application. It provides a nested object property based userinterface for accessing this
configuration data within application code.The configuration datamay come from a variety
of media supporting hierarchical data storage.Currently zend_configprovides adapter for
configuration data that are stored in text files withzend_config_ini and zend_config_xml.
The zend_db_select object represents a sql select query statement.The class has
methods for adding individual parts to the query.You can specifysome parts of the query
using php methods and data structures, and the class forms thecorrect sql syntax for
you.After you build a query, you can execute the query as if youhad written it as string.
The value offered by zend_db_select includes:
*object-oriented methods for specifying sql queries in apiece-by-piece manner;
*quoting identifiers and values, to help reduce risk of sql injectattacks.