Results 1 to 10 of 10
Threaded View
-
25th Jul 2010, 01:53 PM #8OPMemberWebsite's:
litewarez.net litewarez.com triniwarez.comSpecifying the datatype is not really needed unless your passing in classes / object but if i was do do that i would create a data type class for each datatype
PHP Code:class String implements Multilingual
{
public $value;
function __construct($string)
{
$this->value = $string;
}
function __toString($string)
{
return $this->value;
}
function __call($method,$args)
{
if(function_exists($method))
{
$this->value = $method($this->value);
}
return $this;
}
}
$myString = new String("Hello World");
$myString->trim();
PHP Code:class Array implements Iterator
{
//...methods
}
Join Litewarez.net today and become apart of the community.
Unique | Clean | Advanced (All with you in mind)
Downloads | Webmasters
Notifications,Forum,Chat,Community all at Litewarez Webmasters
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
themaManager - edit and manage...
Version 4.19 released. Open older version (or...