Webocreation

Saturday, December 25, 2010

To control the view section of the MVC framework in PHP (Part 1 of 5)

class View
{
    function showGrid($data)
    {
        include_once ('components/product_category/views/grid.php');
    }
   
    function showForm($obj_,$cdata)
    {
        include_once ('components/product_category/views/form.php');
    }
}
?>

No comments:

Post a Comment