Skip to content

Commit

Permalink
MessageIndex, refactoring to OO (basic pass)
Browse files Browse the repository at this point in the history
Signed-off-by: Norv <a.w.norv@gmail.com>
  • Loading branch information
norv committed May 4, 2013
1 parent 9a0a3a9 commit 60a3615
Show file tree
Hide file tree
Showing 2 changed files with 949 additions and 944 deletions.
3 changes: 2 additions & 1 deletion sources/Dispatcher.class.php
Expand Up @@ -107,6 +107,7 @@ public function __construct()
elseif (empty($topic))
{
$this->_file_name = CONTROLLERDIR . '/MessageIndex.controller.php';
$this->_controller_name = 'MessageIndex_Controller';
$this->_function_name = 'action_messageindex';
}
// board=b;topic=t topic display
Expand Down Expand Up @@ -171,7 +172,7 @@ public function __construct()
'printpage' => array('Topic.controller.php', 'action_printpage'), // done
'profile' => array('Profile.controller.php', 'action_modifyprofile'),
'quotefast' => array('Post.controller.php', 'action_quotefast'),
'quickmod' => array('MessageIndex.controller.php', 'action_quickmod'),
'quickmod' => array('MessageIndex.controller.php', 'MessageIndex_Controller', 'action_quickmod'),
'quickmod2' => array('Display.controller.php', 'Display_Controller', 'action_quickmod2'),
'recent' => array('Recent.controller.php', 'action_recent'),
'register' => array('Register.controller.php', 'action_register'),
Expand Down

0 comments on commit 60a3615

Please sign in to comment.