<?php
class Settings_model extends Cf_Model
{

    var $collectionName = 'appsettings';
    var $usersSettings = 'usersettings';
    var $errors;

    function __construct()
    {
        parent::__construct();
    }

    /**
     * Get parameters from Appsettings.php
     *
     * @param type $item
     * @return value or false if not found
     */
    function app_settings_get_item($item)
    {
        $tmp = $this->config->item($item);
        if (!empty($tmp))
        {
            return $tmp;
        }
        else
        {
            return false;
        }
    }
}

?>