symfony API

sfPropelManyToMany 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.

Utilities for managing many to many relationships in propel.

Method Summary

  • getAllObjects($object, $middleClass, $relatedColumn = '', $criteria = null)
  • getColumn($class, $middleClass, $relatedColumn = '')
  • getRelatedClass($class, $middleClass, $relatedColumn = '')
  • getRelatedColumn($class, $middleClass, $relatedColumn = '')
  • getRelatedObjects(($object) $object, ($middleClass) $middleClass, ($criteria) $relatedColumn = '', $criteria = null)
    Gets objects related by a many-to-many relationship, with a middle table.

Method Details

  • getAllObjects ($object, $middleClass, $relatedColumn = '', $criteria = null) Browse code

    $object
    $middleClass
    $relatedColumn
    $criteria

  • getColumn ($class, $middleClass, $relatedColumn = '') Browse code

    $class
    $middleClass
    $relatedColumn

  • getRelatedClass ($class, $middleClass, $relatedColumn = '') Browse code

    $class
    $middleClass
    $relatedColumn

  • getRelatedColumn ($class, $middleClass, $relatedColumn = '') Browse code

    $class
    $middleClass
    $relatedColumn

  • getRelatedObjects (($object) $object, ($middleClass) $middleClass, ($criteria) $relatedColumn = '', $criteria = null) Browse code

    $object The object to get related objects for.
    $middleClass The middle class used for the many-to-many relationship.
    $relatedColumn Criteria to apply to the selection.
    $criteria

    Gets objects related by a many-to-many relationship, with a middle table.