PHP 클래스 SfPropelBehaviorI18n, sfPropelORMPlugin

This behavior is intended to be applied at the database level.
저자: Kris Wallsmith ([email protected])
상속: extends SfPropelBehaviorBase
파일 보기 프로젝트 열기: propelorm/sfPropelORMPlugin

보호된 프로퍼티들

프로퍼티 타입 설명
$parameters

공개 메소드들

메소드 설명
getI18nTable ( ) : Table Returns the current table's i18n translation table.
modifyDatabase ( ) Looks for tables marked as I18N and adds behaviors.
modifyTable ( )
objectAttributes ( )
objectFilter ( &$script ) The object builder adds a first __toString() method, and this behavior adds a second one in objectMethods(), so the first one must be removed.
objectMethods ( )
queryMethods ( QueryBuilder $builder )
staticMethods ( )

보호된 메소드들

메소드 설명
getCultureColumn ( Table $table ) : Column Finds the supplied translation table's culture column.
getForeignColumn ( ) : Column Returns the column on the translation table the references the current model.
getLocalColumn ( ) : Column Returns the column on the current model referenced by the translation model.
hasPrimaryString ( Table $table ) : boolean Checks whether the supplied table has a primary string defined.

메소드 상세

getCultureColumn() 보호된 메소드

Finds the supplied translation table's culture column.
protected getCultureColumn ( Table $table ) : Column
$table Table
리턴 Column

getForeignColumn() 보호된 메소드

Returns the column on the translation table the references the current model.
protected getForeignColumn ( ) : Column
리턴 Column

getI18nTable() 공개 메소드

Returns the current table's i18n translation table.
public getI18nTable ( ) : Table
리턴 Table

getLocalColumn() 보호된 메소드

Returns the column on the current model referenced by the translation model.
protected getLocalColumn ( ) : Column
리턴 Column

hasPrimaryString() 보호된 메소드

Checks whether the supplied table has a primary string defined.
protected hasPrimaryString ( Table $table ) : boolean
$table Table
리턴 boolean

modifyDatabase() 공개 메소드

Looks for tables marked as I18N and adds behaviors.
public modifyDatabase ( )

modifyTable() 공개 메소드

public modifyTable ( )

objectAttributes() 공개 메소드

public objectAttributes ( )

objectFilter() 공개 메소드

The object builder adds a first __toString() method, and this behavior adds a second one in objectMethods(), so the first one must be removed.
public objectFilter ( &$script )

objectMethods() 공개 메소드

public objectMethods ( )

queryMethods() 공개 메소드

public queryMethods ( QueryBuilder $builder )
$builder QueryBuilder

staticMethods() 공개 메소드

public staticMethods ( )

프로퍼티 상세

$parameters 보호되어 있는 프로퍼티

protected $parameters