application/modules/core/models/Base/Route.php 1 location
|
@@ 257-272 (lines=16) @@
|
| 254 |
|
* @param mixed $obj The object to compare to. |
| 255 |
|
* @return boolean Whether equal to the object specified. |
| 256 |
|
*/ |
| 257 |
|
public function equals($obj) |
| 258 |
|
{ |
| 259 |
|
if (!$obj instanceof static) { |
| 260 |
|
return false; |
| 261 |
|
} |
| 262 |
|
|
| 263 |
|
if ($this === $obj) { |
| 264 |
|
return true; |
| 265 |
|
} |
| 266 |
|
|
| 267 |
|
if (null === $this->getPrimaryKey() || null === $obj->getPrimaryKey()) { |
| 268 |
|
return false; |
| 269 |
|
} |
| 270 |
|
|
| 271 |
|
return $this->getPrimaryKey() === $obj->getPrimaryKey(); |
| 272 |
|
} |
| 273 |
|
|
| 274 |
|
/** |
| 275 |
|
* Get the associative array of the virtual columns in this object |
application/modules/xbanners/models/Base/BannerImage.php 1 location
|
@@ 282-297 (lines=16) @@
|
| 279 |
|
* @param mixed $obj The object to compare to. |
| 280 |
|
* @return boolean Whether equal to the object specified. |
| 281 |
|
*/ |
| 282 |
|
public function equals($obj) |
| 283 |
|
{ |
| 284 |
|
if (!$obj instanceof static) { |
| 285 |
|
return false; |
| 286 |
|
} |
| 287 |
|
|
| 288 |
|
if ($this === $obj) { |
| 289 |
|
return true; |
| 290 |
|
} |
| 291 |
|
|
| 292 |
|
if (null === $this->getPrimaryKey() || null === $obj->getPrimaryKey()) { |
| 293 |
|
return false; |
| 294 |
|
} |
| 295 |
|
|
| 296 |
|
return $this->getPrimaryKey() === $obj->getPrimaryKey(); |
| 297 |
|
} |
| 298 |
|
|
| 299 |
|
/** |
| 300 |
|
* Get the associative array of the virtual columns in this object |
application/modules/xbanners/models/Base/BannerImageI18n.php 1 location
|
@@ 237-252 (lines=16) @@
|
| 234 |
|
* @param mixed $obj The object to compare to. |
| 235 |
|
* @return boolean Whether equal to the object specified. |
| 236 |
|
*/ |
| 237 |
|
public function equals($obj) |
| 238 |
|
{ |
| 239 |
|
if (!$obj instanceof static) { |
| 240 |
|
return false; |
| 241 |
|
} |
| 242 |
|
|
| 243 |
|
if ($this === $obj) { |
| 244 |
|
return true; |
| 245 |
|
} |
| 246 |
|
|
| 247 |
|
if (null === $this->getPrimaryKey() || null === $obj->getPrimaryKey()) { |
| 248 |
|
return false; |
| 249 |
|
} |
| 250 |
|
|
| 251 |
|
return $this->getPrimaryKey() === $obj->getPrimaryKey(); |
| 252 |
|
} |
| 253 |
|
|
| 254 |
|
/** |
| 255 |
|
* Get the associative array of the virtual columns in this object |
application/modules/xbanners/models/Base/Banners.php 1 location
|
@@ 262-277 (lines=16) @@
|
| 259 |
|
* @param mixed $obj The object to compare to. |
| 260 |
|
* @return boolean Whether equal to the object specified. |
| 261 |
|
*/ |
| 262 |
|
public function equals($obj) |
| 263 |
|
{ |
| 264 |
|
if (!$obj instanceof static) { |
| 265 |
|
return false; |
| 266 |
|
} |
| 267 |
|
|
| 268 |
|
if ($this === $obj) { |
| 269 |
|
return true; |
| 270 |
|
} |
| 271 |
|
|
| 272 |
|
if (null === $this->getPrimaryKey() || null === $obj->getPrimaryKey()) { |
| 273 |
|
return false; |
| 274 |
|
} |
| 275 |
|
|
| 276 |
|
return $this->getPrimaryKey() === $obj->getPrimaryKey(); |
| 277 |
|
} |
| 278 |
|
|
| 279 |
|
/** |
| 280 |
|
* Get the associative array of the virtual columns in this object |
application/modules/xbanners/models/Base/BannersI18n.php 1 location
|
@@ 216-231 (lines=16) @@
|
| 213 |
|
* @param mixed $obj The object to compare to. |
| 214 |
|
* @return boolean Whether equal to the object specified. |
| 215 |
|
*/ |
| 216 |
|
public function equals($obj) |
| 217 |
|
{ |
| 218 |
|
if (!$obj instanceof static) { |
| 219 |
|
return false; |
| 220 |
|
} |
| 221 |
|
|
| 222 |
|
if ($this === $obj) { |
| 223 |
|
return true; |
| 224 |
|
} |
| 225 |
|
|
| 226 |
|
if (null === $this->getPrimaryKey() || null === $obj->getPrimaryKey()) { |
| 227 |
|
return false; |
| 228 |
|
} |
| 229 |
|
|
| 230 |
|
return $this->getPrimaryKey() === $obj->getPrimaryKey(); |
| 231 |
|
} |
| 232 |
|
|
| 233 |
|
/** |
| 234 |
|
* Get the associative array of the virtual columns in this object |