src/eXpansion/Bundle/LocalRecords/Model/Map/RecordTableMap.php 1 location
|
@@ 189-198 (lines=10) @@
|
| 186 |
|
/** |
| 187 |
|
* Build the RelationMap objects for this table relationships |
| 188 |
|
*/ |
| 189 |
|
public function buildRelations() |
| 190 |
|
{ |
| 191 |
|
$this->addRelation('Player', '\\eXpansion\\Framework\\PlayersBundle\\Model\\Player', RelationMap::MANY_TO_ONE, array ( |
| 192 |
|
0 => |
| 193 |
|
array ( |
| 194 |
|
0 => ':player_id', |
| 195 |
|
1 => ':id', |
| 196 |
|
), |
| 197 |
|
), null, null, null, false); |
| 198 |
|
} // buildRelations() |
| 199 |
|
|
| 200 |
|
/** |
| 201 |
|
* |
src/eXpansion/Framework/PlayersBundle/Model/Map/PlayerTableMap.php 1 location
|
@@ 178-187 (lines=10) @@
|
| 175 |
|
/** |
| 176 |
|
* Build the RelationMap objects for this table relationships |
| 177 |
|
*/ |
| 178 |
|
public function buildRelations() |
| 179 |
|
{ |
| 180 |
|
$this->addRelation('Record', '\\eXpansion\\Bundle\\LocalRecords\\Model\\Record', RelationMap::ONE_TO_MANY, array ( |
| 181 |
|
0 => |
| 182 |
|
array ( |
| 183 |
|
0 => ':player_id', |
| 184 |
|
1 => ':id', |
| 185 |
|
), |
| 186 |
|
), null, null, 'Records', false); |
| 187 |
|
} // buildRelations() |
| 188 |
|
|
| 189 |
|
/** |
| 190 |
|
* Retrieves a string version of the primary key from the DB resultset row that can be used to uniquely identify a row in this table. |