Hi All
I have a problem loading an dateTime class I have created.
<?php
class dateTime{
public function addday(){
echo "work now please";exit;
}
}
?>
The file is in
protected/compontents
which from my understanding should autoload
but I am getting this error when calling
$datetime = new dateTime;
$datetime->addday();
Fatal error: Call to undefined method DateTime::addday()
can anyone help