You are here

function properties_compare_menu in Dynamic properties 7

Implements hook_menu().

File

properties_compare/properties_compare.module, line 22
Module file for privatemsg_compare module.

Code

function properties_compare_menu() {
  $items['properties/compare'] = array(
    'title' => 'Comparison',
    'page callback' => 'properties_compare_page',
    'file' => 'properties_compare.pages.inc',
    'access arguments' => array(
      'compare properties',
    ),
    'type' => MENU_CALLBACK,
  );
  $items['properties/compare/delete/%/%'] = array(
    'title' => 'Delete from compare list',
    'page callback' => 'properties_compare_delete',
    'page arguments' => array(
      3,
      4,
    ),
    'file' => 'properties_compare.pages.inc',
    'access arguments' => array(
      'compare properties',
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}