w3-tools.com - Free Webmaster Tools and Resources
 
w3-tools.com - Free Webmaster Tools and Resources
 Free Webmaster Tools and Resources

 



PEAR Manual

This manual is provided as a courtesy. It is not an official source. Please check pear.php.net for updated information.

PEAR Manual

PEAR Manual

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

Newsletter

Join to our newsletter and receive news and updates about our site.
Your name: 
E-mail address: 
Action: 
 

Hosted by

Search

Google
Web w3-tools.com

Links

  What is my IP? Find your IP address!     Valid XHTML 1.0 Transitional  
Copyright © 2006. by w3-tools.com. All rights reserved