application/modules/xbanners/models/Base/BannerImage.php 1 location
|
@@ 530-546 (lines=17) @@
|
527 |
|
* @param int $v new value |
528 |
|
* @return $this|\xbanners\models\BannerImage The current object (for fluent API support) |
529 |
|
*/ |
530 |
|
public function setBannerId($v) |
531 |
|
{ |
532 |
|
if ($v !== null) { |
533 |
|
$v = (int) $v; |
534 |
|
} |
535 |
|
|
536 |
|
if ($this->banner_id !== $v) { |
537 |
|
$this->banner_id = $v; |
538 |
|
$this->modifiedColumns[BannerImageTableMap::COL_BANNER_ID] = true; |
539 |
|
} |
540 |
|
|
541 |
|
if ($this->aBanners !== null && $this->aBanners->getId() !== $v) { |
542 |
|
$this->aBanners = null; |
543 |
|
} |
544 |
|
|
545 |
|
return $this; |
546 |
|
} // setBannerId() |
547 |
|
|
548 |
|
/** |
549 |
|
* Set the value of [target] column. |
application/modules/xbanners/models/Base/BannerImageI18n.php 1 location
|
@@ 425-441 (lines=17) @@
|
422 |
|
* @param int $v new value |
423 |
|
* @return $this|\xbanners\models\BannerImageI18n The current object (for fluent API support) |
424 |
|
*/ |
425 |
|
public function setId($v) |
426 |
|
{ |
427 |
|
if ($v !== null) { |
428 |
|
$v = (int) $v; |
429 |
|
} |
430 |
|
|
431 |
|
if ($this->id !== $v) { |
432 |
|
$this->id = $v; |
433 |
|
$this->modifiedColumns[BannerImageI18nTableMap::COL_ID] = true; |
434 |
|
} |
435 |
|
|
436 |
|
if ($this->aBannerImage !== null && $this->aBannerImage->getId() !== $v) { |
437 |
|
$this->aBannerImage = null; |
438 |
|
} |
439 |
|
|
440 |
|
return $this; |
441 |
|
} // setId() |
442 |
|
|
443 |
|
/** |
444 |
|
* Set the value of [locale] column. |
application/modules/xbanners/models/Base/BannersI18n.php 1 location
|
@@ 374-390 (lines=17) @@
|
371 |
|
* @param int $v new value |
372 |
|
* @return $this|\xbanners\models\BannersI18n The current object (for fluent API support) |
373 |
|
*/ |
374 |
|
public function setId($v) |
375 |
|
{ |
376 |
|
if ($v !== null) { |
377 |
|
$v = (int) $v; |
378 |
|
} |
379 |
|
|
380 |
|
if ($this->id !== $v) { |
381 |
|
$this->id = $v; |
382 |
|
$this->modifiedColumns[BannersI18nTableMap::COL_ID] = true; |
383 |
|
} |
384 |
|
|
385 |
|
if ($this->aBanners !== null && $this->aBanners->getId() !== $v) { |
386 |
|
$this->aBanners = null; |
387 |
|
} |
388 |
|
|
389 |
|
return $this; |
390 |
|
} // setId() |
391 |
|
|
392 |
|
/** |
393 |
|
* Set the value of [locale] column. |