requireConfig("PropelClassPath"); else $propel_path = Config::getInstance()->requireConfig("$appl::PropelClassPath"); $this->application = $appl; // init propel // @TODO: Ein mehrfaches Propel::init überschreibt offene TAs Propel::init("$path/$propel_path/conf/propel-conf.php"); $include_pathes = get_include_path(); // Add the generated 'classes' directory to the include path set_include_path("$path/$propel_path/classes" . PATH_SEPARATOR . get_include_path()); $include_pathes = get_include_path(); $this->connection = Propel::getConnection(); } // instance stuff private $connection; function getConnection() { return $this->connection; } function startTA(){ $this->connection->beginTransaction(); self::$currentApplication = $this->application; } function commitTA(){ $this->connection->commit(); } function rollbackTA(){ $this->connection->rollBack(); } } //Transaction::$ta_arr = array();