· Contact
· Community
· Tutorial
· Documentation
· Download
· About
Learn :: Model
namespace Model;
class Hello
{
public function say($name)
{
return 'Hello '.$name.'!';
}
}
namespace Controller;
class Home extends \Spawn\Controller
{
public function indexAction()
{
$hello = new \Model\Hello();
$this -> response = $hello->say('Spawn');
}
}
//Model/User/Admin.php
namespace Model\User;
class Admin {}
Sitemap | Logos | License | Contact Us
Copyright © 2010 by Spawnm. All rights reserved