SHARE
TWEET

Untitled

a guest Dec 23rd, 2011 85 Never
  1. <?php defined('SYSPATH') or die('No direct script access.');
  2.  
  3. class Controller_Admin_Cruds extends Controller_Template {
  4.         public $template = 'admin/template';
  5.  
  6.         function action_location() {
  7.                         //$columns = db::getcolumns($table);
  8.                         $address = $this->request->param('crudname');
  9.                         $this -> template -> content = Request::factory("admin/cruds/$address")->query('action', 'list')->execute()->response;
  10.         }
  11.  
  12. }
  13. ?>
RAW Paste Data
Top