libraries/Config/BConfig.php
public function getallfields(){
		$res=array();
		foreach($this->categories as $cat){
			foreach($cat->groups as $group){
				foreach($group->fields as $fld){
					$res[$fld->alias]=$fld;
					}
				}
			}
		return $res;
		}
public function getallfields(){
		$res=array();
		foreach($this->categories as $cat){
			foreach($cat->groups as $group){
				foreach($group->fields as $fld){
					$res[$fld->alias]=$fld;
					}
				}
			}
		return $res;
		}
public function getallfields ( ) { $ res = array ( ) ; foreach ( $ this -> categories as $ cat ) { foreach ( $ cat -> groups as $ group ) { foreach ( $ group -> fields as $ fld ) { $ res [ $ fld -> alias ] = $ fld ; } } } return $ res ; }
Get all fields objects

@return array array of fields objects
Get all fields objects