public function get($keyName, $defaultValue = null)
    {
        $this->initList();
        $keyName = strtolower($keyName);
        if (empty($this->list[$keyName])) {
            return $defaultValue;
        }
        return $this->list[$keyName];
    }
public function get($keyName, $defaultValue = null)
    {
        $this->initList();
        $keyName = strtolower($keyName);
        if (empty($this->list[$keyName])) {
            return $defaultValue;
        }
        return $this->list[$keyName];
    }
public function get ( $ keyName , $ defaultValue = null ) { $ this -> initList ( ) ; $ keyName = strtolower ( $ keyName ) ; if ( empty ( $ this -> list [ $ keyName ] ) ) { return $ defaultValue ; } return $ this -> list [ $ keyName ] ; }
Gets value of by key name.

@param string    $keyName            Key name.
@param mixed     $defaultValue       Default value.

@return string|mixed
Gets value of by key name .