Location: PHPKode > projects > Blackwolf CMF > projectBlackWolf/lib/Module/Mission/Model/Mission.class.php
/* Please see the README and LICENSE files. */

 * The model of a mission in the mission module (wow)
class Module_Mission_Model_Mission extends Module_Model {
     * Make a new model
    public function __construct(){
        $this->add_attribute(new Module_Attribute("missionId",2));
        $this->add_attribute(new Module_Attribute("title","No home for old Zombies!"));
        $this->add_attribute(new Module_Attribute("text","The text of the mission, Lorem ipsum dolor sit amet... go to a place and do things..."));
        $this->add_attribute(new Module_Attribute("mission","2"));
        $this->add_attribute(new Module_Attribute("objectives","...")); // Turn into list, sub template required

Return current item: Blackwolf CMF