%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/lightco1/www/lightingrepublic.com.au/plugins/vmcalculation/avalara/classes/
Upload File :
Create Path :
Current File : /home/lightco1/www/lightingrepublic.com.au/plugins/vmcalculation/avalara/classes/TextCase.class.php

<?php
if (!defined('_JEXEC'))
die('Direct Access to ' . basename(__FILE__) . ' is not allowed.');
/**
 * TextCase.class.php
 */

/**
 * The casing to apply to the valid address(es) returned in the validation result.
 *
 * @author    Avalara
 * @copyright � 2004 - 2011 Avalara, Inc.  All rights reserved.
 * @package   Address
 */

if(!class_exists('Enum')) require (VMAVALARA_CLASS_PATH.DS.'Enum.class.php');

class TextCase extends Enum
{
	public static $Default 	= 'Default';
	public static $Upper 	= 'Upper';
	public static $Mixed 	= 'Mixed';
    
	public static function Values()
	{
		return array(
			TextCase::$Default,
			TextCase::$Upper,
			TextCase::$Mixed,
		);
	}

    // Unfortunate boiler plate due to polymorphism issues on static functions
    public static function Validate($value) { self::__Validate($value,self::Values(),__CLASS__); }
}

?>

Zerion Mini Shell 1.0