symfony API

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

Represents a Doctrine column

Method Summary

  • array getDefinitionKey($key)
    Get the value of a column definition key
  • getDoctrineType()
    Get the Doctrine type of the column
  • string getFieldName()
    Get the alias/field name
  • string getForeignClassName()
    Get the name of the related class for this column foreign key.
  • Doctrine_Table getForeignTable()
    If foreign key get the related Doctrine_Table object
  • getLength()
  • string getName()
    Get the name of the column
  • string getPhpName()
    Get php name. Exists for backwards compatibility with propel orm
  • getSize()
    Get size/length of the column
  • Doctrine_Table getTable()
    Get the Doctrine_Table object this column belongs to
  • getType()
    Get symfony type of the column
  • bool hasDefinitionKey($key)
    Check if the column definition has a certain key
  • boolean isForeignKey()
    Returns true if this column is a foreign key and false if it is not
  • boolean isNotNull()
    Returns true of the column is not null and false if it is null
  • isPrimaryKey()
    Returns true if the column is a primary key and false if it is not
  • offsetExists($offset)
  • offsetGet($offset)
  • offsetSet($offset, $value)
  • offsetUnset($offset)
  • setTable($table)
    Set the Doctrine_Table object this column belongs to
  • __construct($name, $table)

Method Details

  • (array) getDefinitionKey ($key) Browse code

    $key

    Get the value of a column definition key

  • getDoctrineType () Browse code

    Get the Doctrine type of the column

  • (string) getFieldName () Browse code

    Get the alias/field name

  • (string) getForeignClassName () Browse code

    Get the name of the related class for this column foreign key.

  • (Doctrine_Table) getForeignTable () Browse code

    If foreign key get the related Doctrine_Table object

  • getLength () Browse code

  • (string) getName () Browse code

    Get the name of the column

  • (string) getPhpName () Browse code

    Get php name. Exists for backwards compatibility with propel orm

  • getSize () Browse code

    Get size/length of the column

  • (Doctrine_Table) getTable () Browse code

    Get the Doctrine_Table object this column belongs to

  • getType () Browse code

    Get symfony type of the column

  • (bool) hasDefinitionKey ($key) Browse code

    $key

    Check if the column definition has a certain key

  • (boolean) isForeignKey () Browse code

    Returns true if this column is a foreign key and false if it is not

  • (boolean) isNotNull () Browse code

    Returns true of the column is not null and false if it is null

  • isPrimaryKey () Browse code

    Returns true if the column is a primary key and false if it is not

  • offsetExists ($offset) Browse code

    $offset

  • offsetGet ($offset) Browse code

    $offset

  • offsetSet ($offset, $value) Browse code

    $offset
    $value

  • offsetUnset ($offset) Browse code

    $offset

  • setTable ($table) Browse code

    $table

    Set the Doctrine_Table object this column belongs to

  • __construct ($name, $table) Browse code

    $name
    $table