SHARE
TWEET

Untitled

a guest Dec 23rd, 2011 87 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
Want to get better at PHP?
Learn to code PHP in 2017
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top