Class packagemanager

Description

packagemanager.

packagemanager.class.php this class loads all the package informations and defines the action path this really helps deploying applications in zephyr and also seperate applications totally from the main zephyr engine

  • copyright: LGPL
  • version: Beta 2.0
  • since: 13th April, 2006
  • author: Hasin Hayder

Located in /helper/packagemanager.class.php (line 15)


	
			
Method Summary
packagemanager __construct ([string $package = null], [mixed $logout = null])
string get_base_path ()
string get_input_filters ()
string get_javascript ()
string get_output_filters ()
string get_package_path ()
string get_pear_packages ()
string get_php ()
string get_root_action ()
string get_root_template ()
string get_stylesheet ()
string get_title ()
string get_version ()
boolean is_compile_required ()
boolean require_jscalendar ()
boolean require_overlib ()
boolean use_smarty_plugin ()
Methods
Constructor __construct (line 23)

constructor

constructor

  • access: public
packagemanager __construct ([string $package = null], [mixed $logout = null])
  • string $package
get_base_path (line 175)

return the base path for this application

return the base path for this application

  • access: public
string get_base_path ()
get_input_filters (line 124)

return the input filters in a ":" delimited string

return the input filters in a ":" delimited string

  • access: public
string get_input_filters ()
get_javascript (line 186)

return the base path for this application

return the base path for this application

  • access: public
string get_javascript ()
get_output_filters (line 135)

return the output filters in a ":" delimited string

return the output filters in a ":" delimited string

  • access: public
string get_output_filters ()
get_package_path (line 293)

return the physical path of current package

return the physical path of current package this is extremely usefull when you want to manipulate file specially sqlite database at the current package context

  • access: public
  • since: beta 2.0
string get_package_path ()
get_pear_packages (line 270)

return pear packages

return pear packages

  • access: public
string get_pear_packages ()
get_php (line 260)

return user defined php script

return user defined php script

  • access: public
string get_php ()
get_pre_action_processor (line 163)

return the name of pre_action_processor class because we must call it's execute method before loading any action this is extremely usefull when something have to be done before an action loads. true then action loader will load the desired action. die with a custom error message provided by this class.

return the name of pre_action_processor class because we must call it's execute method before loading any action this is extremely usefull when something have to be done before an action loads. like privilege management. if the execute method returns true then action loader will load the desired action. otherwise it will die with a custom error message provided by this class.

  • access: public
string get_pre_action_processor ()
get_root_action (line 250)

return root action

return root action

  • access: public
string get_root_action ()
get_root_template (line 113)

return the root template

return the root template

  • access: public
string get_root_template ()
get_stylesheet (line 240)

return stylesheet

return stylesheet

  • access: public
string get_stylesheet ()
get_title (line 220)

return package title

return package title

  • access: public
string get_title ()
get_version (line 230)

return package version

return package version

  • access: public
string get_version ()
is_compile_required (line 146)

is compilation necessary for this root_template

is compilation necessary for this root_template

  • access: public
boolean is_compile_required ()
require_jscalendar (line 208)

return if jscalendar is needed or not

return if jscalendar is needed or not

  • access: public
boolean require_jscalendar ()
require_overlib (line 196)

return if overlib is needed or not

return if overlib is needed or not

  • access: public
boolean require_overlib ()
use_smarty_plugin (line 280)

return whether to use package specific user defined smarty plugins or not

return whether to use package specific user defined smarty plugins or not

  • access: public
boolean use_smarty_plugin ()

Documentation generated on Sat, 15 Apr 2006 22:10:30 +0600 by phpDocumentor 1.3.0RC3