PHP Classes

File: Model/welcome.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Classes of Aziz S. Hussain  >  Aziz MVC  >  Model/welcome.php  >  Download  
File: Model/welcome.php
Role: Class source
Content type: text/plain
Description: Sample Model
Class: Aziz MVC
Framework that uses MVC design pattern
Author: By
Last change: Fixed Minor Bugs
Date: 4 years ago
Size: 756 bytes


Class file image Download
if(!defined('BASEPATH')){ die();}


AzizMVC By Aziz S. Hussain
Licensed under LGPL

File Name: welcome.php

This is an example of how you would create a model.

--> the classname must be the same as loaded or in the following variations:
    controllermodel, controller_model (case insensitive)
    or any other c l a s s (MVC will search for the c l a ss name)


class welcomemodel extends model
// Construct function
public function __construct()
// Initialize parent
// Test function
public function test()
"Test, Connection Link: ".$this->getLink()."<br />";

// End of file /AzizMVC/Model/welcome.php