You are here

public function cf_dom::is_loaded in Common Functionality 7.2

Returns TRUE if the DOM Document is properly loaded.

Return value

bool TRUE if the DOM Document is properly loaded, FALSE otherwise.

File

modules/cf_dom/classes/cf_dom.php, line 128
Provides the cf_dom handling class.

Class

cf_dom
The cf_dom class assists in setting up and managing the custom dom object.

Code

public function is_loaded() {
  return $this->dom instanceof DOMDocument;
}