All pastes #766060 Raw Edit

Unnamed

public php v1 · immutable
·published 2007-11-08 16:16 UTC
rendered paste body
<?php/*	$method	-	The method name received from $_GET	$params -	The query string*/class Controller {		public	$common;			public function __construct($method, $params = NULL) {				require_once('common.class.php');				$this->common = new Common;		call_user_func(array(&$this->common, $method), $params);	}}?>