Author: kn Date: Wed Feb 6 13:41:54 2008 New Revision: 7306 Log: - Added stubs for required methods
Modified: experimental/Document/src/document/xml_base.php Modified: experimental/Document/src/document/xml_base.php ============================================================================== --- experimental/Document/src/document/xml_base.php [iso-8859-1] (original) +++ experimental/Document/src/document/xml_base.php [iso-8859-1] Wed Feb 6 13:41:54 2008 @@ -76,6 +76,40 @@ throw new ezcDocumentErrnousXmlException( $errors ); } } + + /** + * Validate the input file + * + * Validate the input file against the specification of the current + * document format. + * + * Returns true, if the validation succeded, and an array with + * ezcDocumentValidationError objects otherwise. + * + * @param string $file + * @return mixed + */ + public function validateFile( $file ) + { + // @TODO: Implement + } + + /** + * Validate the input string + * + * Validate the input string against the specification of the current + * document format. + * + * Returns true, if the validation succeded, and an array with + * ezcDocumentValidationError objects otherwise. + * + * @param string $string + * @return mixed + */ + public function validateString( $string ) + { + // @TODO: Implement + } } ?> -- svn-components mailing list svn-components@lists.ez.no http://lists.ez.no/mailman/listinfo/svn-components