symfony API

sfDoctrineRoute Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.2 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.2 version. Switch to:
This version of symfony is not maintained anymore.
If some of your projects still use this version, consider upgrading as soon as possible.

sfDoctrineRoute represents a route that is bound to a Doctrine class.

Inheritence

sfDoctrineRoute  <  sfObjectRoute < sfRequestRoute < sfRoute

Method Summary

Methods inherited from sfObjectRoute

convertObjectToArray , doConvertObjectToArray , filterParameters , generate , getObject , getObjectForParameters , getObjects , getObjectsForParameters , getRealVariables , matchesParameters , __construct

Methods inherited from sfRequestRoute

generate , matchesParameters , matchesUrl , __construct

Methods inherited from sfRoute

bind , compile , compileForSeparator , compileForText , compileForVariable , fixDefaults , fixRequirements , fixSuffix , generate , generateStarParameter , generateWithTokens , getDefaultOptions , getDefaultParameters , getDefaults , getOptions , getPattern , getRegex , getRequirements , getTokens , getVariables , hasStarParameter , initializeOptions , isBound , matchesParameters , matchesUrl , mergeArrays , parseStarParameter , postCompile , preCompile , serialize , setDefaultOptions , setDefaultParameters , tokenize , tokenizeBufferAfter , tokenizeBufferBefore , unserialize , __construct

Method Details

  • doConvertObjectToArray ($object) Browse code

    $object

  • getObjectForParameters ($parameters) Browse code

    $parameters

  • getObjectsForParameters ($parameters) Browse code

    $parameters

  • setListQuery ($query) Browse code

    $query

  • __construct ($pattern, $defaults = array(), $requirements = array(), $options = array()) Browse code

    $pattern The pattern to match
    $defaults An array of default parameter values
    $requirements An array of requirements for parameters (regexes)
    $options An array of options

    Constructor.