You are here

function restws_meta_controls in RESTful Web Services 7.2

Return all available meta controls.

5 calls to restws_meta_controls()
RestWSBaseFormat::generateQueryURIs in ./restws.formats.inc
Generates all navigation links for querying.
RestWSBaseFormat::queryResource in ./restws.formats.inc
Implements RestWSFormatInterface::queryResource().
RestWSBaseFormat::splitParameters in ./restws.formats.inc
Splits a query parameter into two sub arrays containing the filters and meta controls.
RestWSEntityResourceController::query in ./restws.entity.inc
Implements RestWSQueryResourceControllerInterface::query().
RestWSFormatXML::queryResource in ./restws.formats.inc
Overrides RestWSBaseFormat::queryResource().

File

./restws.module, line 511
RESTful web services module.

Code

function restws_meta_controls() {
  $controls = array(
    'sort' => 'sort',
    'direction' => 'direction',
    'page' => 'page',
    'limit' => 'limit',
    'full' => 'full',
  );
  drupal_alter('restws_meta_controls', $controls);
  return $controls;
}