|
@@ 454-461 (lines=8) @@
|
| 451 |
|
* |
| 452 |
|
* @return $this|ChildPageLinkQuery The current query, for fluid interface |
| 453 |
|
*/ |
| 454 |
|
public function filterByShowOn($showOn = null, $comparison = null) |
| 455 |
|
{ |
| 456 |
|
if (is_string($showOn)) { |
| 457 |
|
$showOn = in_array(strtolower($showOn), array('false', 'off', '-', 'no', 'n', '0', '')) ? false : true; |
| 458 |
|
} |
| 459 |
|
|
| 460 |
|
return $this->addUsingAlias(PageLinkTableMap::COL_SHOW_ON, $showOn, $comparison); |
| 461 |
|
} |
| 462 |
|
|
| 463 |
|
/** |
| 464 |
|
* Filter the query on the permanent column |
|
@@ 481-488 (lines=8) @@
|
| 478 |
|
* |
| 479 |
|
* @return $this|ChildPageLinkQuery The current query, for fluid interface |
| 480 |
|
*/ |
| 481 |
|
public function filterByPermanent($permanent = null, $comparison = null) |
| 482 |
|
{ |
| 483 |
|
if (is_string($permanent)) { |
| 484 |
|
$permanent = in_array(strtolower($permanent), array('false', 'off', '-', 'no', 'n', '0', '')) ? false : true; |
| 485 |
|
} |
| 486 |
|
|
| 487 |
|
return $this->addUsingAlias(PageLinkTableMap::COL_PERMANENT, $permanent, $comparison); |
| 488 |
|
} |
| 489 |
|
|
| 490 |
|
/** |
| 491 |
|
* Filter the query by a related \mod_link\models\PageLinkProduct object |