[ Index ]

PHP Cross Reference of MantisBT

title

Body

[close]

/library/ezc/Base/src/metadata/ -> tarball.php (summary)

File containing the ezcBaseMetaDataTarballReader class.

Copyright: Copyright (C) 2005-2009 eZ Systems AS. All rights reserved.
License: http://ez.no/licenses/new_bsd New BSD License
Version: 1.8
File Size: 153 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ezcBaseMetaDataTarballReader:: (6 methods):
  __construct()
  getBundleVersion()
  getRequiredPhpVersion()
  isComponentInstalled()
  getComponentVersion()
  getComponentDependencies()


Class: ezcBaseMetaDataTarballReader  - X-Ref

Base class implements ways of fetching information about the installed
eZ Components when installed as tarball.

__construct()   X-Ref
Creates the reader object and opens the release-info file.


getBundleVersion()   X-Ref
Returns the version string for the installed eZ Components bundle.

A version string such as "2008.2.2" is returned.

return: string

getRequiredPhpVersion()   X-Ref
Returns a PHP version string that describes the required PHP version for
this installed eZ Components bundle.

return: string

isComponentInstalled( $componentName )   X-Ref
Returns whether $componentName is installed

Returns true for every component that exists (because all of them are
then available).

return: bool

getComponentVersion( $componentName )   X-Ref
Returns the version string of the available $componentName or false when
the component is not installed.

return: string

getComponentDependencies( $componentName = null )   X-Ref
Returns a list of components that $componentName depends on.

If $componentName is left empty, all installed components are returned.

The returned array has as keys the component names, and as values the
version of the components. It returns null of the $componentName
is not found.

return: array(string=>string).



Generated: Thu Jul 28 15:48:31 2011 Cross-referenced by PHPXref 0.7