Location: PHPKode > projects > Anahita Social Engine > dependencies/plg_system_socialengine/socialengine/uikit/setting/form.php
<?php
/**
 * @version		1.0.0
 * @category	Anahita Social Engine™
 * @copyright	Copyright (C) 2008 - 2009 rmdStudio Inc. and Peerglobe Technology Inc. All rights reserved.
 * @license		GNU GPLv2 <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
 * @link     	http://www.anahitapolis.com
 */

class AnUikitSettingForm extends AnUikitViewUikit
{
	protected $_layout = 'form';
	
	public function setLayout($layout) {}
	
	public function prepareFormLayout()
	{
		$groups = array();
		
		foreach($this->params->getGroups() as $group=>$index) {	
			$groups[$group] =  $this->params->renderToArray('params', $group);
		}
		
		$this->assign('groups', $groups);
	}
}
Return current item: Anahita Social Engine