public function isPublished() { $storeId = md5(__METHOD__ . "::" . $this->id); if (!isset(self::$cache[$storeId])) { $app = JFactory::getApplication(); if ($app->isAdmin()) { self::$cache[$storeId] = false; return self::$cache[$storeId]; } self::$cache[$storeId] = parent::isPublished(); return self::$cache[$storeId]; } return self::$cache[$storeId]; }