/**
  *
  *  the class constructor
  *
  * @param Array $config
  * @param String $dbname
  * @param String $namespace
  */
 function __construct($config, $dbname, $namespace)
 {
     parent::__construct($config, $dbname, $namespace);
     $this->_addRequire = $config['include.addrequire'];
     $path = $this->_config['include.path'];
     if (!is_dir($path)) {
         // Use path relative to root of the application
         $path = dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . $this->_config['include.path'];
     }
     $this->setIncludePath($path . DIRECTORY_SEPARATOR);
     if (file_exists($this->getIncludePath() . 'IncludeDefault.php')) {
         require_once $this->getIncludePath() . 'IncludeDefault.php';
     } else {
         require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'IncludeDefault.php';
     }
 }
 function __construct($config, $dbname, $namespace)
 {
     parent::__construct($config, $dbname, $namespace);
 }
 function __construct($config, $dbname, $namespace)
 {
     parent::__construct($config, $dbname, $namespace);
     // set default template path for zfw 2.x
     $this->setTemplatePath(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'templates-v2');
 }