本文整理汇总了PHP中XLite\View\AView::isVisible方法的典型用法代码示例。如果您正苦于以下问题:PHP AView::isVisible方法的具体用法?PHP AView::isVisible怎么用?PHP AView::isVisible使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类XLite\View\AView
的用法示例。
在下文中一共展示了AView::isVisible方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: isVisible
/**
* Check if the widget is visible
*
* @return boolean
*/
public function isVisible()
{
return parent::isVisible() && \XLite\Core\Request::getInstance()->id;
}
示例2: isVisible
/**
* Check widget visibility
*
* @return boolean
*/
protected function isVisible()
{
return parent::isVisible() && $this->getOrderId() && 0 < count($this->getOrderHistoryEventsBlock());
}
示例3: isVisible
/**
* Check widget visibility
*
* @return boolean
*/
protected function isVisible()
{
return parent::isVisible() && $this->getParam(self::PARAM_OPTION)->isModifier();
}
示例4: isVisible
/**
* Check widget visibility
*
* @return boolean
*/
protected function isVisible()
{
$result = parent::isVisible();
if ($result) {
if ($this->checkImage()) {
$this->processImage();
} elseif ($this->checkDefaultImage()) {
$this->processDefaultImage();
} else {
$result = false;
}
}
return $result;
}
示例5: isVisible
/**
* Check widget visibility
*
* @return boolean
*/
protected function isVisible()
{
return parent::isVisible() && $this->getItem()->hasOptions();
}
示例6: isVisible
/**
* Check if widget is visible
*
* @return boolean
*/
protected function isVisible()
{
return parent::isVisible() && \XLite\Core\Config::getInstance()->CDev->GoSocial->fb_like_use;
}
示例7: isVisible
/**
* Check widget visibility
*
* @return boolean
*/
protected function isVisible()
{
return parent::isVisible() && $this->getEntity() && $this->getEntity()->hasAttributeValues() && $this->getEntity()->isActualAttributes();
}
示例8: isVisible
/**
* Check if widget is visible
*
* @return boolean
*/
protected function isVisible()
{
return parent::isVisible() && $this->getParam(self::PARAM_ITEM)->hasAttributeValues();
}
示例9: isVisible
/**
* Check if widget is visible
*
* @return boolean
*/
protected function isVisible()
{
return parent::isVisible() && (!\XLite::isAdminZone() && 0 < count($this->getParam(self::PARAM_ITEM)->getSoldPinCodes()) || \XLite::isAdminZone() && 0 < count($this->getParam(self::PARAM_ITEM)->getPinCodes()));
}
示例10: isVisible
/**
* Check if widget is visible
*
* @return boolean
*/
protected function isVisible()
{
return parent::isVisible() && 1 < count($this->getNodes());
}
示例11: isVisible
/**
* Check if widget is visible
*
* @return boolean
*/
protected function isVisible()
{
return parent::isVisible() && $this->getModifier();
}
示例12: isVisible
/**
* Check if widget is visible
*
* @return boolean
*/
protected function isVisible()
{
return parent::isVisible() && $this->getParam(self::PARAM_ORDER) && 0 < count($this->getTransactions());
}
示例13: isVisible
/**
* Check if widget is visible
*
* @return boolean
*/
protected function isVisible()
{
return parent::isVisible() && \XLite\Core\Session::getInstance()->iframePaymentData;
}
示例14: isVisible
/**
* Check if widget is visible
*
* @return boolean
*/
protected function isVisible()
{
return parent::isVisible() && $this->getParam(self::PARAM_ITEM)->countProductOptions();
}
示例15: isVisible
/**
* Check widget visibility
*
* @return boolean
*/
protected function isVisible()
{
return parent::isVisible() && \XLite\Core\Auth::getInstance()->isLogged() && !$this->getWidget(array(), '\\XLite\\View\\CoreVersion')->isVisible();
}