/** * The default process * * @since ADD MVC 0.0 */ public function process_mode_default() { $this->view()->assign('current_controller', add::current_controller_class()); $this->view()->assign('current_view', $this->view_filepath()); $this->view()->assign('utc_timestamp', time()); $this->view()->assign('member', member::current_logged_in()); }
/** * The pre-view process * * @since ADD MVC 0.0 */ public function process() { $this->view()->assign('current_controller', add::current_controller_class()); $this->view()->assign('current_view', $this->view_filepath()); $this->view()->assign('utc_timestamp', @gmmktime()); }