src/controllers/SettingsController.php
public function actionList ()
		{
			$class = $this->_modelClass;
			$list = $class::find()->select('name,value,description')->orderBy([ 'name' => SORT_ASC ])->asArray()->all();
			Console::printTable($list, [ 'Name', 'Value', 'Description' ]);
		}
public function actionList ()
		{
			$class = $this->_modelClass;
			$list = $class::find()->select('name,value,description')->orderBy([ 'name' => SORT_ASC ])->asArray()->all();
			Console::printTable($list, [ 'Name', 'Value', 'Description' ]);
		}
public function actionList ( ) { $ class = $ this -> _modelClass ; $ list = $ class :: find ( ) -> select ( 'name,value,description' ) -> orderBy ( [ 'name' => SORT_ASC ] ) -> asArray ( ) -> all ( ) ; Console :: printTable ( $ list , [ 'Name' , 'Value' , 'Description' ] ) ; }
List all settings in database.
List all settings in database .