libraries/Config/BConfigField.php
public function getVal(){
		//Check for re-defined value (for example, by POST query)
		if(isset($this->value)){
			return $this->value;
			}
		//Check for define
		if(defined($this->alias)){
			return constant($this->alias);
			}
		//If nothing found - return default value
		return $this->default;
		}
public function getVal(){
		//Check for re-defined value (for example, by POST query)
		if(isset($this->value)){
			return $this->value;
			}
		//Check for define
		if(defined($this->alias)){
			return constant($this->alias);
			}
		//If nothing found - return default value
		return $this->default;
		}
public function getVal ( ) { //Check for re-defined value (for example, by POST query) if ( isset ( $ this -> value ) ) { return $ this -> value ; } //Check for define if ( defined ( $ this -> alias ) ) { return constant ( $ this -> alias ) ; } //If nothing found - return default value return $ this -> default ; }
Get field value.
Check, if the variable is defined and return value,
or return default data, if field not defined

@return mixed data
Get field value . Check if the variable is defined and return value or return default data if field not defined