Packager Class Reference

Inheritance diagram for Packager:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 expunge ($pPackage=NULL)
 getDisplayUrl ($pMixed=NULL)
 getDocumentionPage ($pPackage=NULL)
 getDocumentionUrl ($pPackage=NULL)
 getList (&$pListHash)
 isValid ()
 load ()
 loadLicenses ()
 loadTypes ()
 Packager ($pPackage=NULL)
 store ($pParamHash)
 storeLicense ($pParamHash)
 storeType ($pParamHash)
 verify (&$pParamHash)
 verifyLicense (&$pParamHash)
 verifyType (&$pParamHash)

Public Attributes

 $mLicenses = array()
 $mPackage
 $mTypes = array()

Detailed Description

Packager

BitBase

Definition at line 9 of file Packager.php.


Member Function Documentation

Packager::expunge ( pPackage = NULL  ) 

Definition at line 384 of file Packager.php.

References $query, $version, isValid(), load(), mDb, PackagerBase::postStore(), and tra().

Here is the call graph for this function:

Packager::getDisplayUrl ( pMixed = NULL  ) 

getDisplayUrl

Parameters:
array $pParamHash public
Returns:
TRUE on success, FALSE on failure - mErrors will contain reason for failure

Definition at line 354 of file Packager.php.

References $gBitSystem, $ret, FALSE, and isValid().

Referenced by getList(), PackagerVersions::load(), and load().

Here is the call graph for this function:

Packager::getDocumentionPage ( pPackage = NULL  ) 

see if the documentation page exists, if not create it and return the appropriate content_id

Parameters:
array $pPackage public
Returns:
TRUE on success, FALSE on failure - mErrors will contain reason for failure

Definition at line 295 of file Packager.php.

References $gBitSystem, $gBitUser, $ret, $wp, FALSE, isValid(), mUserId, store(), and title.

Referenced by getDocumentionUrl(), and verify().

Here is the call graph for this function:

Packager::getDocumentionUrl ( pPackage = NULL  ) 

see if the documentation page exists, if not create it and return the appropriate content_id

Parameters:
array $pPackage public
Returns:
TRUE on success, FALSE on failure - mErrors will contain reason for failure

Definition at line 334 of file Packager.php.

References $ret, FALSE, getDocumentionPage(), isValid(), and title.

Referenced by load().

Here is the call graph for this function:

Packager::getList ( &$  pListHash  ) 

get a list of available packages

Parameters:
array $pListHash public
Returns:
TRUE on success, FALSE on failure - mErrors will contain reason for failure

Definition at line 136 of file Packager.php.

References $gBitSystem, $query, $result, $ret, getDisplayUrl(), PackagerBase::getInstalledVersion(), PackagerBase::getLatestVersion(), mDb, BitBase::postGetList(), LibertyContent::prepGetList(), and PackagerBase::versionCompare().

Here is the call graph for this function:

Packager::isValid (  ) 

isValid

public

Returns:
TRUE if $this->mPackagerId is set, FALSE on failure

Definition at line 380 of file Packager.php.

Referenced by expunge(), getDisplayUrl(), getDocumentionPage(), getDocumentionUrl(), load(), and verify().

Packager::load (  ) 

load

Parameters:
array $pPackage public
Returns:
TRUE on success, FALSE on failure - mErrors will contain reason for failure

Definition at line 36 of file Packager.php.

References getDisplayUrl(), getDocumentionUrl(), isValid(), mDb, and mInfo.

Referenced by expunge(), and verify().

Here is the call graph for this function:

Packager::loadLicenses (  ) 

loadLicenses

public

Returns:
TRUE on success, FALSE on failure - mErrors will contain reason for failure

Definition at line 238 of file Packager.php.

References mDb.

Referenced by Packager().

Packager::loadTypes (  ) 

loadType

public

Returns:
TRUE on success, FALSE on failure - mErrors will contain reason for failure

Definition at line 188 of file Packager.php.

References mDb.

Referenced by Packager().

Packager::Packager ( pPackage = NULL  ) 

Initiate class

Returns:
void

Definition at line 22 of file Packager.php.

References loadLicenses(), loadTypes(), and PackagerBase::PackagerBase().

Here is the call graph for this function:

Packager::store ( pParamHash  ) 

store

Parameters:
array $pParamHash public
Returns:
TRUE on success, FALSE on failure - mErrors will contain reason for failure

Definition at line 58 of file Packager.php.

References $pParamHash, mDb, mInfo, PackagerBase::postStore(), and verify().

Referenced by getDocumentionPage(), and verify().

Here is the call graph for this function:

Packager::storeLicense ( pParamHash  ) 

storeLicense

Parameters:
array $pParamHash public
Returns:
TRUE on success, FALSE on failure - mErrors will contain reason for failure

Definition at line 249 of file Packager.php.

References $pParamHash, $ret, FALSE, mDb, and verifyLicense().

Referenced by verify().

Here is the call graph for this function:

Packager::storeType ( pParamHash  ) 

storeType

Parameters:
array $pParamHash public
Returns:
TRUE on success, FALSE on failure - mErrors will contain reason for failure

Definition at line 199 of file Packager.php.

References $pParamHash, $ret, FALSE, mDb, and verifyType().

Referenced by verify().

Here is the call graph for this function:

Packager::verify ( &$  pParamHash  ) 

verify

Parameters:
array $pParamHash public
Returns:
TRUE on success, FALSE on failure - mErrors will contain reason for failure

Definition at line 82 of file Packager.php.

References $gBitSystem, $gBitUser, $pParamHash, description, getDocumentionPage(), isValid(), load(), store(), storeLicense(), storeType(), and tra().

Referenced by store().

Here is the call graph for this function:

Packager::verifyLicense ( &$  pParamHash  ) 

verifyLicense

Parameters:
array $pParamHash public
Returns:
TRUE on success, FALSE on failure - mErrors will contain reason for failure

Definition at line 271 of file Packager.php.

References $pParamHash, title, and tra().

Referenced by storeLicense().

Here is the call graph for this function:

Packager::verifyType ( &$  pParamHash  ) 

verifyType

Parameters:
array $pParamHash public
Returns:
TRUE on success, FALSE on failure - mErrors will contain reason for failure

Definition at line 221 of file Packager.php.

References $pParamHash, title, and tra().

Referenced by storeType().

Here is the call graph for this function:


Member Data Documentation

Packager::$mLicenses = array()

Definition at line 13 of file Packager.php.

Packager::$mPackage

Definition at line 11 of file Packager.php.

Packager::$mTypes = array()

Definition at line 15 of file Packager.php.


The documentation for this class was generated from the following file:
Generated on Wed Aug 22 19:34:48 2007 for bitweaver by  doxygen 1.5.2