One-Click
[ class tree: One-Click ] [ index: One-Click ] [ all elements ]

Class: One_Click_Generic

Source Location: /oneclick/one_click_generic.php

Class Overview

Module_Skeleton
   |
   --One_Click_Generic



Author(s):

Variables

Methods


Child classes:


Class Details

[line 11]


Tags:

abstract:  


[ Top ]


Class Variables

$application_config_opts =

[line 58]



Tags:

access:  protected

Type:   mixed


[ Top ]

$configuration_options =

[line 38]



Tags:

access:  protected

Type:   mixed


[ Top ]

$function_int =

[line 44]



Tags:

access:  protected

Type:   mixed


[ Top ]

$installation_type =

[line 56]



Tags:

access:  protected

Type:   mixed


[ Top ]

$mysql =

[line 41]

handlers



Tags:

access:  protected

Type:   mixed


[ Top ]

$mysql_database =

[line 29]



Tags:

access:  protected

Type:   mixed


[ Top ]

$mysql_password =

[line 31]



Tags:

access:  protected

Type:   mixed


[ Top ]

$mysql_user =

[line 30]



Tags:

access:  protected

Type:   mixed


[ Top ]

$pgsql =

[line 42]



Tags:

access:  protected

Type:   mixed


[ Top ]

$pgsql_database =

[line 33]



Tags:

access:  protected

Type:   mixed


[ Top ]

$pgsql_password =

[line 35]



Tags:

access:  protected

Type:   mixed


[ Top ]

$pgsql_user =

[line 34]



Tags:

access:  protected

Type:   mixed


[ Top ]

$site_id =

[line 37]



Tags:

access:  public

Type:   mixed


[ Top ]



Class Methods


constructor __construct [line 87]


method call_proc [line 587]

void call_proc( $mCmd)



Tags:

access:  public


Parameters:

   $mCmd  

[ Top ]

method call_proc_sudo [line 591]

void call_proc_sudo( $mCmd, $mUser)



Tags:

access:  public


Parameters:

   $mCmd  
   $mUser  

[ Top ]

method compare_versions [line 397]

bool compare_versions( string $mVersion1, string $mVersion2, [string $mOperand = '='])

int compare_versions(string, string, string)

Overrideable version comparison method used by upgrade facility By default, this is just a wrapper to PHP's version_compare() function




Tags:

access:  public


Parameters:

string   $mVersion1   first version
string   $mVersion2   second version
string   $mOperand   boolean operators '<','>','==','!='

[ Top ]

method connect [line 469]

void connect( [ $mHost = NULL], [ $mPort = NULL])



Tags:

access:  public


Parameters:

   $mHost  
   $mPort  

[ Top ]

method copy_storehouse [line 422]

void copy_storehouse( $mSrc, $mDest)



Tags:

access:  protected


Parameters:

   $mSrc  
   $mDest  

[ Top ]

method copy_storehouse_raw [line 440]

void copy_storehouse_raw( $mSrc, $mDest)



Tags:

access:  protected


Parameters:

   $mSrc  
   $mDest  

[ Top ]

method fix_apache_perms [line 409]

bool fix_apache_perms( string $mPath, [bool $mRecurse = false])

bool fix_apache_perms(string[, bool = false])



Tags:

final:  
access:  protected


Parameters:

string   $mPath  
bool   $mRecurse  

[ Top ]

method generate_locales [line 166]

void generate_locales( )



Tags:

access:  protected


[ Top ]

method get_application_installs [line 363]

void get_application_installs( )



Tags:

access:  public


[ Top ]

method get_audit_status [line 156]

void get_audit_status( )



Tags:

access:  public


[ Top ]

method get_author [line 148]

void get_author( )



Tags:

access:  public


[ Top ]

method get_author_address [line 624]

void get_author_address( )



Tags:

access:  public


[ Top ]

method get_database_prefix [line 537]

void get_database_prefix( )



Tags:

access:  protected


[ Top ]

method get_dependencies [line 561]

void get_dependencies( )



Tags:

access:  public


[ Top ]

method get_description [line 138]

void get_description( )



Tags:

access:  public


[ Top ]

method get_install_database [line 726]

void get_install_database( )



Tags:

access:  protected


[ Top ]

method get_install_path [line 453]

void get_install_path( )



Tags:

access:  protected


[ Top ]

method get_install_url [line 606]

void get_install_url( )



Tags:

access:  public


[ Top ]

method get_instance_configuration [line 687]

void get_instance_configuration( $mPath)



Tags:

access:  public


Parameters:

   $mPath  

[ Top ]

method get_logo [line 647]

void get_logo( )



Tags:

access:  public


[ Top ]

method get_original_version [line 863]

void get_original_version( )



Tags:

access:  protected


[ Top ]

method get_postback [line 549]

void get_postback( [ $mKey = NULL])



Tags:

access:  protected


Parameters:

   $mKey  

[ Top ]

method get_site_id [line 143]

void get_site_id( )



Tags:

access:  public


[ Top ]

method get_space [line 642]

void get_space( )



Tags:

access:  public


[ Top ]

method get_target_version [line 859]

void get_target_version( )



Tags:

access:  protected


[ Top ]

method get_version [line 571]

void get_version( )



Tags:

access:  public


[ Top ]

method get_versions [line 354]

void get_versions( )



Tags:

access:  public


[ Top ]

method get_version_hierarchy [line 831]

void get_version_hierarchy( )



Tags:

access:  protected


[ Top ]

method get_website [line 638]

void get_website( )



Tags:

access:  public


[ Top ]

method install [line 534]

void install( )



Tags:

abstract:  
access:  public


Overridden in child classes as:

lucida_Install::install()
Perform the application installation process
create_Install::install()
Perform the application installation process
punBB_Install::install()
Perform the application installation process
wordpress_Install::install()
gallery_Install::install()
Perform the application installation process
joomla_Install::install()
Perform the application installation process
phpBB_Install::install()
Perform the application installation process
Typo_Install::install()
Perform the application installation process
Zencart_Install::install()
Perform the application installation process
mediawiki_Install::install()
Perform the application installation process

[ Top ]

method log_status [line 242]

void log_status( $mMsg)



Tags:

access:  protected


Parameters:

   $mMsg  

[ Top ]

method mysql_import [line 574]

void mysql_import( $mScript)



Tags:

access:  public


Parameters:

   $mScript  

[ Top ]

method patch [line 804]

void patch( $mVersion, [ $mFuzz = 30])



Tags:

access:  public


Overridden in child classes as:

lucida_Install::patch()
Call diff command, patch application, do anything else...
create_Install::patch()
Call diff command, patch application, do anything else...
punBB_Install::patch()
Call diff command, patch application, do anything else...
wordpress_Install::patch()
bool patch(string, int)
gallery_Install::patch()
Call diff command, patch application, do anything else...
joomla_Install::patch()
Call diff command, patch application, do anything else...
phpBB_Install::patch()
Call diff command, patch application, do anything else...
Typo_Install::patch()
Call diff command, patch application, do anything else...
Zencart_Install::patch()
Call diff command, patch application, do anything else...
mediawiki_Install::patch()
Call diff command, patch application, do anything else...

Parameters:

   $mVersion  
   $mFuzz  

[ Top ]

method patch_exists [line 746]

void patch_exists( $mInternal, $mOld, $mNew)

The patch process works as follows: 1) Use xdiff (or diff binary itself) to generate diffs between <old> and <new> and store the diffs under /tmp/. Return the array of different files.

2)




Tags:

access:  protected


Parameters:

   $mInternal  
   $mOld  
   $mNew  

[ Top ]

method pgsql_import [line 593]

void pgsql_import( $mScript)



Tags:

access:  public


Parameters:

   $mScript  

[ Top ]

method post_configuration [line 532]

void post_configuration( )



Tags:

abstract:  
access:  public


Overridden in child classes as:

lucida_Install::post_configuration()
Validate input.
create_Install::post_configuration()
Validate input.
punBB_Install::post_configuration()
Validate input.
wordpress_Install::post_configuration()
gallery_Install::post_configuration()
Validate input.
joomla_Install::post_configuration()
Validate input.
phpBB_Install::post_configuration()
Validate input.
Typo_Install::post_configuration()
Validate input.
Zencart_Install::post_configuration()
Validate input.
mediawiki_Install::post_configuration()
Validate input.

[ Top ]

method post_install [line 535]

void post_install( )



Tags:

abstract:  
access:  public


Overridden in child classes as:

lucida_Install::post_install()
Clean-up any remaining files, reinitialize variables, et cetera
create_Install::post_install()
Clean-up any remaining files, reinitialize variables, et cetera
punBB_Install::post_install()
Clean-up any remaining files, reinitialize variables, et cetera
wordpress_Install::post_install()
Clean-up any remaining files, reinitialize variables, et cetera
gallery_Install::post_install()
Clean-up any remaining files, reinitialize variables, et cetera
joomla_Install::post_install()
Clean-up any remaining files, reinitialize variables, et cetera
phpBB_Install::post_install()
Clean-up any remaining files, reinitialize variables, et cetera
Typo_Install::post_install()
Clean-up any remaining files, reinitialize variables, et cetera
Zencart_Install::post_install()
Clean-up any remaining files, reinitialize variables, et cetera
mediawiki_Install::post_install()
Clean-up any remaining files, reinitialize variables, et cetera

[ Top ]

method post_patch [line 826]

void post_patch( )



Tags:

access:  public


Overridden in child classes as:

lucida_Install::post_patch()
Post-patch cleanup
create_Install::post_patch()
Post-patch cleanup
punBB_Install::post_patch()
Post-patch cleanup
wordpress_Install::post_patch()
Post-patch cleanup
gallery_Install::post_patch()
Post-patch cleanup
joomla_Install::post_patch()
Post-patch cleanup
phpBB_Install::post_patch()
Post-patch cleanup
Typo_Install::post_patch()
Post-patch cleanup
Zencart_Install::post_patch()
Post-patch cleanup
mediawiki_Install::post_patch()
Post-patch cleanup

[ Top ]

method pre_configuration [line 531]

void pre_configuration( )



Tags:

abstract:  
access:  public


Overridden in child classes as:

lucida_Install::pre_configuration()
Pre configuration hooks. This function is reserved for ensuring that the user has the necessary features enabled for the account in order to install the application fine.
create_Install::pre_configuration()
Pre configuration hooks. This function is reserved for ensuring that the user has the necessary features enabled for the account in order to install the application fine.
punBB_Install::pre_configuration()
Pre configuration hooks. This function is reserved for ensuring that the user has the necessary features enabled for the account in order to install the application fine.
wordpress_Install::pre_configuration()
gallery_Install::pre_configuration()
Pre configuration hooks. This function is reserved for ensuring that the user has the necessary features enabled for the account in order to install the application fine.
joomla_Install::pre_configuration()
Pre configuration hooks. This function is reserved for ensuring that the user has the necessary features enabled for the account in order to install the application fine.
phpBB_Install::pre_configuration()
Pre configuration hooks. This function is reserved for ensuring that the user has the necessary features enabled for the account in order to install the application fine.
Typo_Install::pre_configuration()
Pre configuration hooks. This function is reserved for ensuring that the user has the necessary features enabled for the account in order to install the application fine.
Zencart_Install::pre_configuration()
Pre configuration hooks. This function is reserved for ensuring that the user has the necessary features enabled for the account in order to install the application fine.
mediawiki_Install::pre_configuration()
Pre configuration hooks. This function is reserved for ensuring that the user has the necessary features enabled for the account in order to install the application fine.

[ Top ]

method pre_install [line 533]

void pre_install( )



Tags:

abstract:  
access:  public


Overridden in child classes as:

lucida_Install::pre_install()
Ensure that the filesystem meets the needs of the application.
create_Install::pre_install()
Ensure that the filesystem meets the needs of the application.
punBB_Install::pre_install()
Ensure that the filesystem meets the needs of the application.
wordpress_Install::pre_install()
gallery_Install::pre_install()
Ensure that the filesystem meets the needs of the application.
joomla_Install::pre_install()
Ensure that the filesystem meets the needs of the application.
phpBB_Install::pre_install()
Ensure that the filesystem meets the needs of the application.
Typo_Install::pre_install()
Ensure that the filesystem meets the needs of the application.
Zencart_Install::pre_install()
Ensure that the filesystem meets the needs of the application.
mediawiki_Install::pre_install()
Ensure that the filesystem meets the needs of the application.

[ Top ]

method pre_patch [line 801]

void pre_patch( )



Tags:

access:  public


Overridden in child classes as:

lucida_Install::pre_patch()
Double check files exist prior to patch
create_Install::pre_patch()
Double check files exist prior to patch
punBB_Install::pre_patch()
Double check files exist prior to patch
wordpress_Install::pre_patch()
Double check files exist prior to patch
gallery_Install::pre_patch()
Double check files exist prior to patch
joomla_Install::pre_patch()
Double check files exist prior to patch
phpBB_Install::pre_patch()
Double check files exist prior to patch
Typo_Install::pre_patch()
Double check files exist prior to patch
Zencart_Install::pre_patch()
Double check files exist prior to patch
mediawiki_Install::pre_patch()
Double check files exist prior to patch

[ Top ]

method process_installation [line 281]

void process_installation( $mOpts)



Tags:

access:  public


Parameters:

   $mOpts  

[ Top ]

method query [line 467]

void query( $mCmd, [ $mArgs = NULL])



Tags:

access:  public


Parameters:

   $mCmd  
   $mArgs  

[ Top ]

method render_configuration [line 207]

void render_configuration( )



Tags:

access:  public


[ Top ]

method setup_mysql [line 254]

void setup_mysql( $mUser, $mPassword, $mDB)



Tags:

access:  protected


Parameters:

   $mUser  
   $mPassword  
   $mDB  

[ Top ]

method setup_pgsql [line 268]

void setup_pgsql( $mUser, $mPassword, $mDB)



Tags:

access:  protected


Parameters:

   $mUser  
   $mPassword  
   $mDB  

[ Top ]

method set_database_prefix [line 541]

void set_database_prefix( $mPrefix)



Tags:

access:  protected


Parameters:

   $mPrefix  

[ Top ]

method set_dependencies [line 620]

void set_dependencies( $mDeps)



Tags:

access:  public


Parameters:

array   $mDeps  

[ Top ]

method set_description [line 555]

void set_description( $mDesc)



Tags:

access:  public


Parameters:

   $mDesc  

[ Top ]

method set_function_int [line 61]

void set_function_int( &$mObj)



Tags:

access:  public


Parameters:

   &$mObj  

[ Top ]

method set_install_type [line 613]

void set_install_type( $mType)



Tags:

access:  public


Parameters:

   $mType  

[ Top ]

method set_mysql [line 68]

void set_mysql( &$mObj)



Tags:

access:  public


Parameters:

   &$mObj  

[ Top ]

method set_pgsql [line 78]

void set_pgsql( &$mObj)



Tags:

access:  public


Parameters:

   &$mObj  

[ Top ]

method set_space [line 631]

void set_space( $mSpace)



Tags:

access:  public


Parameters:

   $mSpace  

[ Top ]

method set_version [line 565]

void set_version( $mVer)



Tags:

access:  public


Parameters:

   $mVer  

[ Top ]

method set_website [line 635]

void set_website( $mSite)



Tags:

access:  public


Parameters:

   $mSite  

[ Top ]

method uninstall [line 656]

bool uninstall( $mPath)

bool uninstall(string)

Uninstall an application, overrideable




Tags:

return:  uninstall succeeded
access:  public


Parameters:

   $mPath  

[ Top ]

method upgrade [line 750]

void upgrade( $mLocation, $mVersion)



Tags:

access:  public


Parameters:

   $mLocation  
   $mVersion  

[ Top ]

method uses_sql [line 719]

void uses_sql( )



Tags:

access:  protected


[ Top ]

method __call [line 247]

void __call( $mFunc, $mArgs)



Tags:

access:  protected


Parameters:

   $mFunc  
   $mArgs  

[ Top ]

method __get [line 232]

void __get( $mItem)



Tags:

access:  protected


Parameters:

   $mItem  

[ Top ]

method __set [line 238]

void __set( $mVar, $mVal)



Tags:

access:  protected


Parameters:

   $mVar  
   $mVal  

[ Top ]


Documentation generated on Sat, 05 Jul 2008 04:00:43 -0400 by phpDocumentor 1.4.0