Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.01 KB | None | 0 0
  1. function forclosure_menu() {
  2.  
  3.         $items = array();
  4.      
  5.         $items['forclosure/search'] = array(
  6.                 'title' => 'Forclosure Search',
  7.                 'page callback' => 'forclosure_search',
  8.                 'access arguments' => array('Access Forclosure Module'),
  9.                 'type' => MENU_CALLBACK
  10.         );
  11.         $items['forclosure/view_property'] = array(
  12.                 'title' => 'Proprety Display Details',
  13.                 'page callback' => 'forclosure_property_display',
  14.                 'access arguments' => array('Access Forclosure Module'),
  15.                 'type' => MENU_CALLBACK
  16.         );
  17.         $items['admin/settings/forclosure'] = array(
  18.                 'title' => 'Forclosure Administration',
  19.                 'page callback' => 'forclosure_admin',
  20.                 'page arguments' => array('forclosure'),
  21.                 'access arguments' => array('Access Forclosure Admin Page'),
  22.                 'weight' => 50,
  23.                 'type' => MENU_LOCAL_TASK
  24.         );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement