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');
}
}
?>
{
function showGrid($data)
{
include_once ('components/product_category/views/grid.php');
}
function showForm($obj_,$cdata)
{
include_once ('components/product_category/views/form.php');
}
}
?>
Comments
Post a Comment