symfony API

sfDoctrineColumn Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.3 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.3 version. Switch to:

Represents a Doctrine column

Method Summary

  • array getDefinitionKey($key)
    Get the value of a column definition key
  • void 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
  • mixed|null getRelationKey($key)
    Returns a value from the current column's relation.
  • void getSize()
    Get size/length of the column
  • Doctrine_Table getTable()
    Get the Doctrine_Table object this column belongs to
  • void 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
  • void isPrimaryKey()
    Returns true if the column is a primary key and false if it is not
  • offsetExists()
  • offsetGet()
  • offsetSet()
  • offsetUnset()
  • void setTable($table)
    Set the Doctrine_Table object this column belongs to
  • __construct()
    Definition of the column

Method Details

  • (array) getDefinitionKey ($key) Browse code

    Get the value of a column definition key

    returns $definition

  • (void) getDoctrineType () Browse code

    Get the Doctrine type of the column

  • (string) getFieldName () Browse code

    Get the alias/field name

    returns $fieldName

  • (string) getForeignClassName () Browse code

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

    returns $foreignClassName

  • (Doctrine_Table) getForeignTable () Browse code

    If foreign key get the related Doctrine_Table object

    returns $table

  • getLength () Browse code

  • (string) getName () Browse code

    Get the name of the column

    returns $name

  • (string) getPhpName () Browse code

    Get php name. Exists for backwards compatibility with propel orm

    returns $fieldName

  • (mixed|null) getRelationKey ($key) Browse code

    Returns a value from the current column's relation.

  • (void) getSize () Browse code

    Get size/length of the column

  • (Doctrine_Table) getTable () Browse code

    Get the Doctrine_Table object this column belongs to

    returns $table

  • (void) getType () Browse code

    Get symfony type of the column

  • (bool) hasDefinitionKey ($key) Browse code

    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

    returns $isForeignKey

  • (boolean) isNotNull () Browse code

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

  • (void) isPrimaryKey () Browse code

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

  • offsetExists () Browse code

  • offsetGet () Browse code

  • offsetSet () Browse code

  • offsetUnset () Browse code

  • (void) setTable ($table) Browse code

    Set the Doctrine_Table object this column belongs to

  • __construct () Browse code

    Definition of the column