src/modules/setting/components/SettingManager.php
public function get ($name, $default = null)
		{
			foreach ($this->_data as $d)
			{
				if ($d->name === $name)
					return $d->value;
			}

			return $default;
		}
public function get ($name, $default = null)
		{
			foreach ($this->_data as $d)
			{
				if ($d->name === $name)
					return $d->value;
			}

			return $default;
		}
public function get ( $ name , $ default = null ) { foreach ( $ this -> _data as $ d ) { if ( $ d -> name === $ name ) return $ d -> value ; } return $ default ; }
Gets specific setting by its name. Return default value if not found.

@param string $name
@param mixed  $default
@return null
Gets specific setting by its name . Return default value if not found .