PEAR_Validate

PEAR_Validate

Table of Contents
Class Summary PEAR_Validate --  Validation class for package.xml - channel-level advanced validation
PEAR_Validate::_addFailure() -- _addFailure
PEAR_Validate::_addWarning() -- _addWarning
PEAR_Validate::getFailures() -- getFailures
PEAR_Validate::getValidStates() -- Get a list of valid stability levels
PEAR_Validate::setPackageFile() -- setPackageFile
PEAR_Validate::validate() -- validate
PEAR_Validate::validateChangelog() -- validateChangelog
PEAR_Validate::validateDate() -- validateDate
PEAR_Validate::validateDependencies() -- for package.xml 2.0 only - channels can't use package.xml 1.0
PEAR_Validate::validateDeps() -- validateDeps
PEAR_Validate::validateDescription() -- validateDescription
PEAR_Validate::validateFilelist() -- validateFilelist
PEAR_Validate::validateLicense() -- validateLicense
PEAR_Validate::validateMainFilelist() -- for package.xml 2.0 only
PEAR_Validate::validateMaintainers() -- validateMaintainers
PEAR_Validate::validateNotes() -- validateNotes
PEAR_Validate::validatePackageName() -- validatePackageName
PEAR_Validate::validateReleaseFilelist() -- for package.xml 2.0 only
PEAR_Validate::validateStability() -- validateStability
PEAR_Validate::validateState() -- validateState
PEAR_Validate::validateSummary() -- validateSummary
PEAR_Validate::validateTime() -- validateTime
PEAR_Validate::validateVersion() -- protected function to validate a version
PEAR_Validate::validGroupName() --  This validates a dependency group name, and dependency group names must conform to the PEAR naming convention, so the method is final and static.
PEAR_Validate::validPackageName() -- utility method to validate a package name string
PEAR_Validate::validState() -- Determine whether $state represents a valid stability level
PEAR_Validate::validVersion() --  Determine whether a version is a properly formatted version number that can be used by version_compare()
PEAR_Validate::_validPackageName() -- Override this method to handle validation of normal package names
Package PEAR Constants -- Constants defined in and used by PEAR
© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.