You are here

function _autoasignrole_get_page_query in Auto Assign Role 7

Helper method for getting the page query object.

Return value

SelectQuery The query object.

2 calls to _autoasignrole_get_page_query()
autoassignrole_get_page in ./autoassignrole.module
Function to get role-specific page details.
autoassignrole_get_pages in ./autoassignrole.module
Function to retrieve all role-specific pages.

File

./autoassignrole.module, line 326
The main autoassignrole.module file

Code

function _autoasignrole_get_page_query() {
  return db_select('autoassignrole_page', 'p')
    ->fields('p', array(
    'rids',
    'path',
    'title',
    'menu',
    'display',
  ));
}