Location: PHPKode > projects > phpMyVisites > phpmv2/core/include/Str.class.php
<?php
/* 
 * phpMyVisites : website statistics and audience measurements
 * Copyright (C) 2002 - 2006
 * http://www.phpmyvisites.net/ 
 * phpMyVisites is free software (license GNU/GPL)
 * Authors : phpMyVisites team
*/

// $Id: Str.class.php 29 2006-08-18 07:35:21Z matthieu_ $



/**
 * Class used to copy class Date method get() behaviour
 */
class Str
{
	/**
	 * @var string
	 */
	var $str;
	
	/**
	 * Constructor
	 */
	function Str($str)
	{
		$this->str = (string)$str;
	}
	
	/**
	 * Returns property value
	 */
	function get()
	{
		return $this->str;
	}
}
?>
Return current item: phpMyVisites