/** * Returns the nice, human readable string for the codetype (defined by * the OGC ISO standard). * * @return string */ public function getUseConstraintsNice() { $index = $this->useConstraints; $codeTypes = MDCodeTypes::get_resource_constraints(); return isset($codeTypes[$index]) ? $codeTypes[$index] : MDCodeTypes::$default_for_null_value; }