configs Variables Config

This extension is used for read and save config as variables. 简单的设置存储器。

Documentation

Requirements
  • Yii 1.0 or above
Installation
  • Extract the release file under protected/components
  • Set up component 'config' in main.php
Usage

See the following code example: ~~~

Get config item:

  1. Documentation
  2. Change Log

[php] Yii::app()->config->get('site_name', 'Default'); [/php]

Set config item:

[php] Yii::app()->config->set('site_name', 'Yii Site); [/php]

Change Log

March 3, 2010
  • Initial release.
0 1
1 follower
1 327 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: Others
Tags:
Developed by: dongbeta
Created on: Mar 3, 2010
Last updated: 14 years ago

Downloads

show all