This has got to be one of the most frequently updated PHP sites, keep up the good work... "Dies hat zu einer der am häufigsten aktualisierte PHP-Seiten sein, halten Sie die gute Arbeit ..."
Max

RocksRelation Klasse

Beschreibung

Diese Klasse stellt eine Beziehung in der Datenbank. Wenn diese ausgeführt wird, wird es entweder ein Array von Objekten RocksDBO oder nur ein einziges. Dies wird usualy intern verwendet.

  • string $foriegnKey: the name of the field in the dbo table that is the foriegn key property: String $ foriegnKey: der Name des Feldes in der Tabelle, die die dbo foriegn Schlüssel ist
  • string $otherTable: the name of the other table that it relates to property: String $ otherTable: der Name der anderen Tabelle, die sie zum Gegenstand hat
  • string $otherTableForiegnKey: the name of the foriegn key in the other table property: String $ otherTableForiegnKey: der Name des foriegn Schlüssel in der anderen Tabelle
  • string $relationName: the name of the relationship property: String $ RelationName: der Name der Beziehung
  • string $relationType: the type of relationship this can be null or RocksOneToOne property: String $ RelationsTyp: die Art der Beziehung dieser kann null oder RocksOneToOne
  • array $relations: this is a array of RocksRelation which represent the relationships related to this relationship Eigentum: Array $ Beziehungen: Dies ist ein Array von RocksRelation die die Verhältnisse im Zusammenhang mit dieser Beziehung darstellen
  • array $orderBys: this is a array of RocksOrderBy which represent the ordering of this relationship Eigentum: Array $ orderBys: dies ist ein Array von RocksOrderBy welche die Ordnung dieser Beziehung darstellen
  • Dominic Skinner Autor: Dominic Skinner
  • 0.2.1 Version: 0.2.1
  • Zusammenfassung:

) Das Hotel liegt in / RocksRelation.php (Zeile 19)

Method Summary
__construct ( string $foriegnKey , string $otherTable , string $otherTableForiegnKey , [ string $relationName = null ], [ string $relationType = null ]) RocksRelation __construct (string $ foriegnKey, string $ otherTable, string $ otherTableForiegnKey, [string $ RelationName = null], [string $ RelationsTyp = null])
AddExcludedValue ( Leere AddExcludedValue ( ) $ Value)
AddOrderBy ( string $fieldName , [ string $orderDirection = null ]) Leere AddOrderBy (string $ fieldname, [string $ orderDirection = null])
AddRelation ( string $foriegnKey , string $otherTable , string $otherTableForiegnKey , [ string $relationName = null ], [ string $relationType = null ]) Leere AddRelation (string $ foriegnKey, string $ otherTable, string $ otherTableForiegnKey, [string $ RelationName = null], [string $ RelationsTyp = null])
Alternative ( Leere Alternative ( ) $ Relation)
GetOrderBy () Leere GetOrderBy ()
IsExcludedValue ( Leere IsExcludedValue ( ) $ Value)
__get ( Leere __get ( ) $ Name)
__set ( Erlöschen __set ( , $ Var, ) $ VarValue)
Methoden
(line 41 ) Konstruktor __ construct (Linie 41)

Der Konstruktor ermöglicht das Verhältnis Aufgabe konfiguriert werden.

  • public Zugang: öffentlich
__construct ( string $foriegnKey , string $otherTable , string $otherTableForiegnKey , [ string $relationName = null ], [ string $relationType = null ]) RocksRelation __ construct (string $ foriegnKey, string $ otherTable, string $ otherTableForiegnKey, [string $ RelationName = null], [string $ RelationsTyp = null])
  • $foriegnKey : the foriegn key in the current object that this relationship should be created on string $ foriegnKey: die foriegn Schlüssel in das aktuelle Objekt, dass diese Beziehung auf erstellt werden soll
  • $otherTable : the other table this relationship is with string $ otherTable: die andere Tabelle ist diese Beziehung mit
  • $otherTableForiegnKey : the key in the other table that this relationship is with string $ otherTableForiegnKey: der Schlüssel in der anderen Tabelle, dass diese Beziehung ist mit
  • $relationName : the name of the relationship string RelationName: der Name der Beziehung
  • $relationType : the type of the relationship if it is a one to one relationship or not string $ RelationsTyp: die Art der Beziehung, wenn es sich um eine 1-1 Beziehung ist oder nicht
(line 146 ) AddExcludedValue (Linie 146)
  • public Zugang: öffentlich
AddExcludedValue ( Leere AddExcludedValue ( ) $ Value)
  • $ Value
(line 91 ) AddOrderBy (Linie 91)

Die Aufträge die Elemente, die in der Beziehung zurückgegeben werden

  • public Zugang: öffentlich
AddOrderBy ( string $fieldName , [ string $orderDirection = null ]) Leere AddOrderBy (string $ fieldname, [string $ orderDirection = null])
  • $fieldName : the field name to be ordered string $ fieldName: der Feldname bestellt werden
  • $orderDirection : the direction the field should be ordered. string $ orderDirection: Die Richtung sollte das Feld bestellt werden. Dies kann entweder die Werte RocksDesc oder RocksAsc.
(line 71 ) AddRelation (Linie 71)

Das fügt ein Relation-Objekt an die bestehende Beziehung Objekt

  • public Zugang: öffentlich
AddRelation ( string $foriegnKey , string $otherTable , string $otherTableForiegnKey , [ string $relationName = null ], [ string $relationType = null ]) Leere AddRelation (string $ foriegnKey, string $ otherTable, string $ otherTableForiegnKey, [string $ RelationName = null], [string $ RelationsTyp = null])
  • $foriegnKey : the foriegn key in the current object that this relationship should be created on string $ foriegnKey: die foriegn Schlüssel in das aktuelle Objekt, dass diese Beziehung auf erstellt werden soll
  • $otherTable : the other table this relationship is with string $ otherTable: die andere Tabelle ist diese Beziehung mit
  • $otherTableForiegnKey : the key in the other table that this relationship is with string $ otherTableForiegnKey: der Schlüssel in der anderen Tabelle, dass diese Beziehung ist mit
  • $relationName : the name of the relationship string RelationName: der Name der Beziehung
  • $relationType : the type of the relationship if it is a one to one relationship or not string $ RelationsTyp: die Art der Beziehung, wenn es sich um eine 1-1 Beziehung ist oder nicht
(line 122 ) Alternative (Linie 122)
  • public Zugang: öffentlich
Alternative ( Leere Alternative ( ) $ Relation)
  • $ Beziehung
(line 133 ) GetNextAlternativeRelation (Linie 133)
  • public Zugang: öffentlich
GetNextAlternativeRelation () Leere GetNextAlternativeRelation ()
(line 100 ) GetOrderBy (Linie 100)

Gibt die SQL, die die Bestellung, wird dies in der Regel intern verwendet.

  • public Zugang: öffentlich
GetOrderBy () Leere GetOrderBy ()
(line 80 ) HasRelations (Linie 80)

Dies ist die Anzahl der Beziehungen diese Beziehung hat

  • public Zugang: öffentlich
HasRelations () Leere HasRelations ()
(line 152 ) IsExcludedValue (Linie 152)
  • public Zugang: öffentlich
IsExcludedValue ( Leere IsExcludedValue ( ) $ Value)
  • $ Value
(line 157 ) __get (Linie 157)
  • public Zugang: öffentlich
__get ( void __ get ( ) $ Name)
  • $ Name
(line 166 ) __set (Linie 166)
  • public Zugang: öffentlich
__set ( void __ set ( , $ Var, ) $ VarValue)
  • $ Var
  • $ VarValue

Noch keine Kommentare wurden zur Verfügung gestellt.
Security Image

Geschrieben von: Dominic Skinner
Zuletzt aktualisiert: 2011.10.25 16.00.38