applications/dashboard/controllers/class.messagecontroller.php
public function Index() {
      $this->Permission('Garden.Messages.Manage');
      $this->AddSideMenu('dashboard/message');
      $this->AddJsFile('jquery.autogrow.js');
      $this->AddJsFile('jquery.tablednd.js');
      $this->AddJsFile('jquery-ui.js');
      $this->AddJsFile('messages.js');
      $this->Title(T('Messages'));
         
      // Load all messages from the db
      $this->MessageData = $this->MessageModel->Get('Sort');
      $this->Render();
   }
public function Index() {
      $this->Permission('Garden.Messages.Manage');
      $this->AddSideMenu('dashboard/message');
      $this->AddJsFile('jquery.autogrow.js');
      $this->AddJsFile('jquery.tablednd.js');
      $this->AddJsFile('jquery-ui.js');
      $this->AddJsFile('messages.js');
      $this->Title(T('Messages'));
         
      // Load all messages from the db
      $this->MessageData = $this->MessageModel->Get('Sort');
      $this->Render();
   }
public function Index ( ) { $ this -> Permission ( 'Garden.Messages.Manage' ) ; $ this -> AddSideMenu ( 'dashboard/message' ) ; $ this -> AddJsFile ( 'jquery.autogrow.js' ) ; $ this -> AddJsFile ( 'jquery.tablednd.js' ) ; $ this -> AddJsFile ( 'jquery-ui.js' ) ; $ this -> AddJsFile ( 'messages.js' ) ; $ this -> Title ( T ( 'Messages' ) ) ; // Load all messages from the db $ this -> MessageData = $ this -> MessageModel -> Get ( 'Sort' ) ; $ this -> Render ( ) ; }
Main page. Show all messages.

@since 2.0.0
@access public
Main page . Show all messages .