You are here

function cc::xml_known_encoding in Constant Contact 6.2

Same name and namespace in other branches
  1. 6.3 class.cc.php \cc::xml_known_encoding()
  2. 7.3 class.cc.php \cc::xml_known_encoding()

* Checks if the given encoding is one of the known encodings * * * @access private

1 call to cc::xml_known_encoding()
cc::xml_php4_create_parser in ./class.cc.php
Instaniate an XML parser under PHP4

File

./class.cc.php, line 1635

Class

cc
@file

Code

function xml_known_encoding($enc) {
  $enc = strtoupper($enc);
  if (in_array($enc, $this->xml_known_encodings)) {
    return $enc;
  }
  else {
    return false;
  }
}