KTAPI User Guide Documentation, examples and tutorials for the KnowledgeTree API (KTAPI) KnowledgeTree Team This documentation is maintained by the {@link mailto:info@knowledgetree.com KnowledgeTree Team}. {@toc} Introduction PLEASE NOTE: This is currently just a place holder for the API documentation and tutorials that are coming. Many examples can already be found in the classes and methods documentation so have a look at the specific area you are interested in in the index. We intend updating and adding to this documentation each iteration. Examples KTAPI examples can be found here. Example 1 This is KTAPI example one. Example 1 public function KTAPI_Error($msg, $obj = null) { if (PEAR::isError($obj)) { parent::PEAR_Error($msg . ' - ' . $obj->getMessage()); } else { parent::PEAR_Error($msg); } }