コード例 #1
0
ファイル: AItemsList.php プロジェクト: kingsj/core
 /**
  * Check if widget is visible
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && ($this->isDisplayWithEmptyList() || $this->hasResults());
 }
コード例 #2
0
ファイル: AItemsList.php プロジェクト: kirkbauer2/kirkxc
 /**
  * Check if widget is visible
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && ($this->isDisplayWithEmptyList() || ($this->isCacheAvailable() && $this->hasCachedContent() || $this->hasResults()));
 }