Exemplo n.º 1
0
 /**
  * Display list/table end followed by </form> closing.
  *
  * Typically outputs </ul> or </table>
  */
 function display_list_end()
 {
     global $current_User;
     if (!$current_User->check_perm('selections', 'view')) {
         // User is NOT allowed to view selections
         // Don't do any more then base class:
         parent::display_list_end();
         return;
     }
     // list/table end:
     parent::display_list_end();
     $this->Form->end_form();
 }