Extension.php #1

  • //
  • guest/
  • perforce_software/
  • chronicle/
  • main/
  • library/
  • P4Cms/
  • Validate/
  • File/
  • Extension.php
  • View
  • Commits
  • Open Download .zip Download (575 B)
<?php
/**
 * Extends Extension validator to change the default error messages.
 *
 * @copyright   2011 Perforce Software. All rights reserved.
 * @license     Please see LICENSE.txt in top-level folder of this distribution.
 * @version     <release>/<patch>
 */
class P4Cms_Validate_File_Extension extends Zend_Validate_File_Extension
{
    protected $_messageTemplates = array(
        self::FALSE_EXTENSION => "File '%value%' has an invalid extension, expecting '%extension%'.",
        self::NOT_FOUND       => "File '%value%' is not readable or does not exist",
    );
}
# Change User Description Committed
#1 16170 perforce_software Move Chronicle files to follow new path scheme for branching.
//guest/perforce_software/chronicle/library/P4Cms/Validate/File/Extension.php
#1 8972 Matt Attaway Initial add of the Chronicle source code