File size: 883B
<?php
/**
* SocialEngine
*
* @category Application_Core
* @package Core
* @copyright Copyright 2006-2020 Webligo Developments
* @license http://www.socialengine.com/license/
* @version $Id: Controller.php 9747 2012-07-26 02:08:08Z john $
* @author John
*/
/**
* @category Application_Core
* @package Core
* @copyright Copyright 2006-2020 Webligo Developments
* @license http://www.socialengine.com/license/
*/
class Core_Widget_MenuSocialSitesController extends Engine_Content_Widget_Abstract
{
public function indexAction()
{
$this->view->navigation = $navigation = Engine_Api::_()
->getApi('menus', 'core')
->getNavigation('core_social_sites');
if( engine_count($this->view->navigation) == 0 ) {
return $this->setNoRender();
}
}
public function getCacheKey()
{
return 'core_social_sites';
}
}