PHP Classes

File: models/HomeModel.php

Recommend this page to a friend!
  Classes of Adrian M   Basic PHP MVC Basic Model   models/HomeModel.php   Download  
File: models/HomeModel.php
Role: Class source
Content type: text/plain
Description: Class source
Class: Basic PHP MVC Basic Model
Implement MVC applications with a router class
Author: By
Last change:
Date: 9 months ago
Size: 148 bytes
 

Contents

Class file image Download
<?php
class HomeModel {
    public function
getData() {
       
// Fetch data for the Home page
       
return "Welcome to the Home Page";
    }
}