function __construct() { static::$appCurrent = $this->objName(get_called_class()); $this->template(static::$appCurrent); // static::$appCurrent = $this->objName(__CLASS__); // $this->partialTemplate('before',"top2.php"); $this->data('nama', 'mayendra costanov'); }
function __construct() { // echo "SOMETIHNG"; // static::$appCurrent = $this->objName(get_called_class()); static::$appCurrent = $this->objName(get_called_class()); // var_dump(__CLASS__); // parent::__construct(); }
function __construct() { static::$appCurrent = $this->objName(__CLASS__); parent::__construct(); }