src/cli/Database/Base/Channel.php 1 location
|
@@ 1136-1144 (lines=9) @@
|
| 1133 |
|
* @return \Jalle19\StatusManager\Database\Channel Clone of current object. |
| 1134 |
|
* @throws PropelException |
| 1135 |
|
*/ |
| 1136 |
|
public function copy($deepCopy = false) |
| 1137 |
|
{ |
| 1138 |
|
// we use get_class(), because this might be a subclass |
| 1139 |
|
$clazz = get_class($this); |
| 1140 |
|
$copyObj = new $clazz(); |
| 1141 |
|
$this->copyInto($copyObj, $deepCopy); |
| 1142 |
|
|
| 1143 |
|
return $copyObj; |
| 1144 |
|
} |
| 1145 |
|
|
| 1146 |
|
/** |
| 1147 |
|
* Declares an association between this object and a ChildInstance object. |
src/cli/Database/Base/Connection.php 1 location
|
@@ 1304-1312 (lines=9) @@
|
| 1301 |
|
* @return \Jalle19\StatusManager\Database\Connection Clone of current object. |
| 1302 |
|
* @throws PropelException |
| 1303 |
|
*/ |
| 1304 |
|
public function copy($deepCopy = false) |
| 1305 |
|
{ |
| 1306 |
|
// we use get_class(), because this might be a subclass |
| 1307 |
|
$clazz = get_class($this); |
| 1308 |
|
$copyObj = new $clazz(); |
| 1309 |
|
$this->copyInto($copyObj, $deepCopy); |
| 1310 |
|
|
| 1311 |
|
return $copyObj; |
| 1312 |
|
} |
| 1313 |
|
|
| 1314 |
|
/** |
| 1315 |
|
* Declares an association between this object and a ChildInstance object. |
src/cli/Database/Base/Instance.php 1 location
|
@@ 1128-1136 (lines=9) @@
|
| 1125 |
|
* @return \Jalle19\StatusManager\Database\Instance Clone of current object. |
| 1126 |
|
* @throws PropelException |
| 1127 |
|
*/ |
| 1128 |
|
public function copy($deepCopy = false) |
| 1129 |
|
{ |
| 1130 |
|
// we use get_class(), because this might be a subclass |
| 1131 |
|
$clazz = get_class($this); |
| 1132 |
|
$copyObj = new $clazz(); |
| 1133 |
|
$this->copyInto($copyObj, $deepCopy); |
| 1134 |
|
|
| 1135 |
|
return $copyObj; |
| 1136 |
|
} |
| 1137 |
|
|
| 1138 |
|
|
| 1139 |
|
/** |
src/cli/Database/Base/Subscription.php 1 location
|
@@ 1535-1543 (lines=9) @@
|
| 1532 |
|
* @return \Jalle19\StatusManager\Database\Subscription Clone of current object. |
| 1533 |
|
* @throws PropelException |
| 1534 |
|
*/ |
| 1535 |
|
public function copy($deepCopy = false) |
| 1536 |
|
{ |
| 1537 |
|
// we use get_class(), because this might be a subclass |
| 1538 |
|
$clazz = get_class($this); |
| 1539 |
|
$copyObj = new $clazz(); |
| 1540 |
|
$this->copyInto($copyObj, $deepCopy); |
| 1541 |
|
|
| 1542 |
|
return $copyObj; |
| 1543 |
|
} |
| 1544 |
|
|
| 1545 |
|
/** |
| 1546 |
|
* Declares an association between this object and a ChildInstance object. |
src/cli/Database/Base/User.php 1 location
|
@@ 1193-1201 (lines=9) @@
|
| 1190 |
|
* @return \Jalle19\StatusManager\Database\User Clone of current object. |
| 1191 |
|
* @throws PropelException |
| 1192 |
|
*/ |
| 1193 |
|
public function copy($deepCopy = false) |
| 1194 |
|
{ |
| 1195 |
|
// we use get_class(), because this might be a subclass |
| 1196 |
|
$clazz = get_class($this); |
| 1197 |
|
$copyObj = new $clazz(); |
| 1198 |
|
$this->copyInto($copyObj, $deepCopy); |
| 1199 |
|
|
| 1200 |
|
return $copyObj; |
| 1201 |
|
} |
| 1202 |
|
|
| 1203 |
|
/** |
| 1204 |
|
* Declares an association between this object and a ChildInstance object. |