<?php class HomeModel { public function getData() { // Fetch data for the Home page return "Welcome to the Home Page"; } }
info at phpclasses dot org