You are here

function properties_compare_list in Dynamic properties 7

Returns the current compare list.

Return value

Returns the compare list as an array by reference.

7 calls to properties_compare_list()
properties_compare_block_view in properties_compare/properties_compare.module
Implements hook_block_view().
properties_compare_list_add in properties_compare/properties_compare.module
Add a new entity to the compare list.
properties_compare_list_clear in properties_compare/properties_compare.module
Clear the compare list.
properties_compare_list_delete in properties_compare/properties_compare.module
Delete an entity from the compare list.
properties_compare_list_exists in properties_compare/properties_compare.module
Checks if an entity is already in the compare list.

... See full list

File

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

Code

function &properties_compare_list() {
  if (!isset($_SESSION['properties_compare_list'])) {
    $_SESSION['properties_compare_list'] = array();
  }
  return $_SESSION['properties_compare_list'];
}