src/cli/Database/Map/ChannelTableMap.php 1 location
|
@@ 200-207 (lines=8) @@
|
| 197 |
|
* |
| 198 |
|
* @return mixed The primary key of the row |
| 199 |
|
*/ |
| 200 |
|
public static function getPrimaryKeyFromRow($row, $offset = 0, $indexType = TableMap::TYPE_NUM) |
| 201 |
|
{ |
| 202 |
|
return (int) $row[ |
| 203 |
|
$indexType == TableMap::TYPE_NUM |
| 204 |
|
? 0 + $offset |
| 205 |
|
: self::translateFieldName('Id', TableMap::TYPE_PHPNAME, $indexType) |
| 206 |
|
]; |
| 207 |
|
} |
| 208 |
|
|
| 209 |
|
/** |
| 210 |
|
* The class that the tableMap will make instances of. |
src/cli/Database/Map/ConnectionTableMap.php 1 location
|
@@ 218-225 (lines=8) @@
|
| 215 |
|
* |
| 216 |
|
* @return mixed The primary key of the row |
| 217 |
|
*/ |
| 218 |
|
public static function getPrimaryKeyFromRow($row, $offset = 0, $indexType = TableMap::TYPE_NUM) |
| 219 |
|
{ |
| 220 |
|
return (int) $row[ |
| 221 |
|
$indexType == TableMap::TYPE_NUM |
| 222 |
|
? 0 + $offset |
| 223 |
|
: self::translateFieldName('Id', TableMap::TYPE_PHPNAME, $indexType) |
| 224 |
|
]; |
| 225 |
|
} |
| 226 |
|
|
| 227 |
|
/** |
| 228 |
|
* The class that the tableMap will make instances of. |
src/cli/Database/Map/UserTableMap.php 1 location
|
@@ 207-214 (lines=8) @@
|
| 204 |
|
* |
| 205 |
|
* @return mixed The primary key of the row |
| 206 |
|
*/ |
| 207 |
|
public static function getPrimaryKeyFromRow($row, $offset = 0, $indexType = TableMap::TYPE_NUM) |
| 208 |
|
{ |
| 209 |
|
return (int) $row[ |
| 210 |
|
$indexType == TableMap::TYPE_NUM |
| 211 |
|
? 0 + $offset |
| 212 |
|
: self::translateFieldName('Id', TableMap::TYPE_PHPNAME, $indexType) |
| 213 |
|
]; |
| 214 |
|
} |
| 215 |
|
|
| 216 |
|
/** |
| 217 |
|
* The class that the tableMap will make instances of. |
src/cli/Database/Map/InputTableMap.php 1 location
|
@@ 224-231 (lines=8) @@
|
| 221 |
|
* |
| 222 |
|
* @return mixed The primary key of the row |
| 223 |
|
*/ |
| 224 |
|
public static function getPrimaryKeyFromRow($row, $offset = 0, $indexType = TableMap::TYPE_NUM) |
| 225 |
|
{ |
| 226 |
|
return (string) $row[ |
| 227 |
|
$indexType == TableMap::TYPE_NUM |
| 228 |
|
? 0 + $offset |
| 229 |
|
: self::translateFieldName('Uuid', TableMap::TYPE_PHPNAME, $indexType) |
| 230 |
|
]; |
| 231 |
|
} |
| 232 |
|
|
| 233 |
|
/** |
| 234 |
|
* The class that the tableMap will make instances of. |
src/cli/Database/Map/InstanceTableMap.php 1 location
|
@@ 209-216 (lines=8) @@
|
| 206 |
|
* |
| 207 |
|
* @return mixed The primary key of the row |
| 208 |
|
*/ |
| 209 |
|
public static function getPrimaryKeyFromRow($row, $offset = 0, $indexType = TableMap::TYPE_NUM) |
| 210 |
|
{ |
| 211 |
|
return (string) $row[ |
| 212 |
|
$indexType == TableMap::TYPE_NUM |
| 213 |
|
? 0 + $offset |
| 214 |
|
: self::translateFieldName('Name', TableMap::TYPE_PHPNAME, $indexType) |
| 215 |
|
]; |
| 216 |
|
} |
| 217 |
|
|
| 218 |
|
/** |
| 219 |
|
* The class that the tableMap will make instances of. |
src/cli/Database/Map/SubscriptionTableMap.php 1 location
|
@@ 256-263 (lines=8) @@
|
| 253 |
|
* |
| 254 |
|
* @return mixed The primary key of the row |
| 255 |
|
*/ |
| 256 |
|
public static function getPrimaryKeyFromRow($row, $offset = 0, $indexType = TableMap::TYPE_NUM) |
| 257 |
|
{ |
| 258 |
|
return (int) $row[ |
| 259 |
|
$indexType == TableMap::TYPE_NUM |
| 260 |
|
? 0 + $offset |
| 261 |
|
: self::translateFieldName('Id', TableMap::TYPE_PHPNAME, $indexType) |
| 262 |
|
]; |
| 263 |
|
} |
| 264 |
|
|
| 265 |
|
/** |
| 266 |
|
* The class that the tableMap will make instances of. |