Source for file System.php
Documentation is available at System.php
* DotBoost Technologies Inc.
* DotKernel Application Framework
* @copyright Copyright (c) 2009 DotBoost Technologies (http://www.dotboost.com)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @version $Id: System.php 152 2010-06-18 07:39:40Z teo $
* Here are all the actions related to the system settings
* @author DotKernel Team <team@dotkernel.com>
$this->db = Zend_Registry::get('database');
* Get settings that are by default editable
* @param int $isEditable [optional]
$select = $this->db->select()
->where('isEditable = ? ', $isEditable);
return $this->db->fetchAll($select);
foreach ($data as $k => $v)
$this->db->update('setting', array('value' => $v), $this->db->quoteIdentifier('key'). ' = '. $this->db->quote($k));
|