<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>appflow.dia</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -91,44 +91,6 @@ abstract class Krai_Db_Handler
   abstract public function FetchOne(Krai_Db_Query &amp;$qid);
 
   /**
-   * Get the number of rows returned for a query
-   *
-   * This function returns the number of rows in the resultset of a query
-   *
-   * @param Krai_Db_Query $qid The query
-   * @return integer The number of rows (-1 for an error)
-   */
-  //abstract public function Rows(Krai_Db_Query $qid);
-
-  /**
-   * Get the error from a query
-   *
-   * This function returns the error information associated with a query.
-   *
-   * @param Krai_Db_Query $qid The query
-   * @param string $ret The error format
-   */
-  //abstract public function Error(Krai_Db_Query $qid, $ret);
-
-  /**
-   * Return the number of rows affected by the last query
-   *
-   * This function returns the number of rows affected by a query
-   *
-   * @param Krai_Db_Query $qid The query
-   */
-  //abstract public function Affected(Krai_Db_Query $qid);
-
-  /**
-   * Return the last inserted id
-   *
-   * This function returns the last insert id of the query
-   *
-   * @param Krai_Db_Query $qid The query
-   */
-  //abstract public function Inserted(Krai_Db_Query $qid);
-
-  /**
    * Process a query struct according to its type.
    *
    * This function processes a query struct in the proper format for the database</diff>
      <filename>Krai/Db/Handler.php</filename>
    </modified>
    <modified>
      <diff>@@ -164,11 +164,6 @@ class Krai_Db_Handler_Mysql extends Krai_Db_Handler
 
     Krai::WriteLog($sql_real. &quot;:: &quot;.($tstop - $tstart).&quot;s&quot;, Krai::LOG_DEBUG, array(&quot;sql&quot;));
 
-    /*if(!$query)
-    {
-      throw new Krai_Db_Exception($this-&gt;error(&quot;text&quot;).$this-&gt;error(&quot;number&quot;));
-    }*/
-
     return new Krai_Db_Query($query, array(
       &quot;affected&quot; =&gt; ($querytype != &quot;select&quot; &amp;&amp; $querytype != &quot;transaction&quot;) ? $this-&gt;_dbc-&gt;affected_rows : null,
       &quot;insertid&quot; =&gt; ($querytype == &quot;insert&quot;) ? $this-&gt;_dbc-&gt;insert_id : null,
@@ -292,58 +287,6 @@ class Krai_Db_Handler_Mysql extends Krai_Db_Handler
     return $row[0];
   }
 
-  /*public function Error(Krai_Db_Query $qid, $ret)
-  {
-    if($ret == &quot;text&quot;)
-    {
-      return $this-&gt;_dbc-&gt;error;
-    }
-    elseif($ret == &quot;number&quot;)
-    {
-      return $this-&gt;_dbc-&gt;errno;
-    }
-    elseif($ret == &quot;array&quot;)
-    {
-      return array($this-&gt;_dbc-&gt;error, $this-&gt;_dbc-&gt;errno);
-    }
-    else
-    {
-      throw new Krai_Db_Exception(&quot;Un-recognized return type option passed to Krai_DbMysql::Error.&quot;);
-    }
-  }*/
-
-  /*public function Affected(Krai_Db_Query $qid)
-  {
-    $d = $qid-&gt;GetQuery();
-    if(is_array($d))
-    {
-      return $d[1];
-    }
-  }*/
-
-  /*public function Inserted(Krai_Db_Query $qid)
-  {
-    $d = $qid-&gt;GetQuery();
-    if(is_array($d))
-    {
-      return $d[2];
-    }
-  }*/
-
-  /*public function Result(Krai_Db_Query $qid)
-  {
-    $d = $qid-&gt;GetQuery();
-    if(is_array($d))
-    {
-      return $d[0];
-    }
-  }*/
-
-  /*public function Rows(Krai_Db_Query $qid)
-  {
-    return $qid-&gt;num_rows;
-  }*/
-
   /**
    * Escape the parameter so it is safe to insert into a query
    *</diff>
      <filename>Krai/Db/Handler/Mysql.php</filename>
    </modified>
    <modified>
      <diff>@@ -11,10 +11,6 @@
  * @license http://www.opensource.org/licenses/mit-license.php MIT License
  */
 
-/*Krai::Uses(
-  Krai::$FRAMEWORK.&quot;/Db/Querypdo.php&quot;
-);*/
-
 /**
  * PDO database handler
  *
@@ -283,46 +279,6 @@ class Krai_Db_Handler_Pdo extends Krai_Db_Handler
     return $row[0];
   }
 
-  /*public function Rows(Krai_Db_Query $qid)
-  {
-    return $qid-&gt;NumRows();
-  }*/
-
-  /*public function Error(Krai_Db_Query $qid, $ret)
-  {
-    $stmt = $qid-&gt;GetQuery();
-    $einfo = $stmt-&gt;errorInfo();
-    $einfo = (count($einfo) &gt; 0) ? $einfo : $this-&gt;_dbc-&gt;errorInfo();
-
-    if($ret == &quot;text&quot;)
-    {
-      return array_key_exists(2, $einfo) ? $einfo[2] : &quot;Unknown error.&quot;;
-    }
-    elseif($ret == &quot;number&quot;)
-    {
-      return array_key_exists(0, $einfo) ? $einfo[0] : &quot;Unknown error.&quot;;
-    }
-    elseif($ret == &quot;array&quot;)
-    {
-      return array(array_key_exists(2, $einfo) ? $einfo[2] : &quot;Unknown error.&quot;, array_key_exists(1, $einfo) ? $einfo[1] : &quot;Unknown error.&quot;);
-    }
-    else
-    {
-      throw new Krai_Db_Exception(&quot;Un-recognized return type option passed to Krai_Db_Handler_Pdo::Error.&quot;);
-    }
-  }*/
-
-  /*public function Affected(Krai_Db_Query $qid)
-  {
-    $stmt = $qid-&gt;GetQuery();
-    return $stmt-&gt;rowCount();
-  }*/
-
-  /*public function Inserted(Krai_Db_Query $qid)
-  {
-    return $this-&gt;_dbc-&gt;lastInsertId();
-  }*/
-
   /**
    * Generates DSN strings for a variety of databases from the $dbinfo
    *</diff>
      <filename>Krai/Db/Handler/Pdo.php</filename>
    </modified>
    <modified>
      <diff>@@ -93,10 +93,6 @@ abstract class Krai_Module extends Krai
     }
     catch(Krai_Module_Exception_Adone $e)
     {
-      if($e-&gt;getCode() == Krai_Module_Exception_Adone::Rendered)
-      {
-        $actioninst-&gt;AfterRender();
-      }
       $actioninst-&gt;AfterFilters();
       $this-&gt;AfterFilters();
 </diff>
      <filename>Krai/Module.php</filename>
    </modified>
    <modified>
      <diff>@@ -196,6 +196,8 @@ abstract class Krai_Module_Action extends Krai
       include $_file;
     }
 
+    $this-&gt;AfterRender();
+
     throw new Krai_Module_Exception_Adone(Krai_Module_Exception_Adone::Rendered);
   }
 
@@ -304,6 +306,8 @@ abstract class Krai_Module_Action extends Krai
       echo $_text;
     }
 
+    $this-&gt;AfterRender();
+
     throw new Krai_Module_Exception_Adone(Krai_Module_Exception_Adone::Rendered);
   }
 </diff>
      <filename>Krai/Module/Action.php</filename>
    </modified>
    <modified>
      <diff>@@ -133,7 +133,7 @@ class UserModule_EditAction extends Krai_Module_Action
                             &quot;An e-mail change request has been initiated for the &quot;.Krai::GetConfig(&quot;SYSTEM_NAME&quot;).
                             &quot;To activate the new e-mail, please go to the following URL.\n&quot;.
                             &quot;If you did NOT request this e-mail change, please do not visit the link.\n\n&quot;.
-                            &quot;http://&quot;.Krai::GetConfig(&quot;DOMAIN&quot;).self::$ROUTER-&gt;UrlFor(&quot;user&quot;,&quot;confirm&quot;,array(&quot;id&quot; =&gt; $this-&gt;_parent-&gt;USER-&gt;user_id,&quot;code&quot; =&gt; $thecode,&quot;type&quot;=&gt;&quot;email&quot;), false).&quot;\n\n&quot;;
+                            Krai::GetConfig(&quot;ROOTURL&quot;).self::$ROUTER-&gt;UrlFor(&quot;user&quot;,&quot;confirm&quot;,array(&quot;id&quot; =&gt; $this-&gt;_parent-&gt;USER-&gt;user_id,&quot;code&quot; =&gt; $thecode,&quot;type&quot;=&gt;&quot;email&quot;), false).&quot;\n\n&quot;;
           if(Krai_Mail::Send($mail))
           {
             self::Notice(&quot;An e-mail confirmation was sent to the new address for your requested e-mail change.&quot;);</diff>
      <filename>script/demo/includes/modules/user.module/actions/edit.action.php</filename>
    </modified>
    <modified>
      <diff>@@ -1,20 +1,71 @@
 &lt;?xml version=&quot;1.0&quot;?&gt;
 &lt;!DOCTYPE article PUBLIC &quot;-//OASIS//DTD DocBook XML V4.1.2//EN&quot; &quot;http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd&quot;&gt;
 &lt;refentry id=&quot;{@id framework}&quot;&gt;
-	&lt;refnamediv&gt;
-		&lt;refname&gt;Krai Manual&lt;/refname&gt;
-		&lt;refpurpose&gt;This manual provides examples and explanations for functionality in the Krai Framework PHP application framework.&lt;/refpurpose&gt;
-	&lt;/refnamediv&gt;
-	&lt;refsynopsisdiv&gt;
-		&lt;author&gt;Greg McWhirter
-			&lt;authorblurb&gt;
-			{@link mailto:gsmcwhirter@gmail.com Greg McWhirter}
-			&lt;/authorblurb&gt;
-		&lt;/author&gt;
-	&lt;/refsynopsisdiv&gt;
-	{@toc}
-	&lt;refsect1 id=&quot;{@id framework_intro}&quot;&gt;
-		&lt;title&gt;Introduction&lt;/title&gt;
-		&lt;para&gt;The user manual and whatnot.&lt;/para&gt;
-	&lt;/refsect1&gt;
+  &lt;refnamediv&gt;
+    &lt;refname&gt;Krai Manual&lt;/refname&gt;
+    &lt;refpurpose&gt;This manual provides examples and explanations for functionality in the Krai Framework PHP application framework.&lt;/refpurpose&gt;
+  &lt;/refnamediv&gt;
+  &lt;refsynopsisdiv&gt;
+    &lt;author&gt;Greg McWhirter
+      &lt;authorblurb&gt;{@link mailto:gsmcwhirter@gmail.com Greg McWhirter}&lt;/authorblurb&gt;
+    &lt;/author&gt;
+  &lt;/refsynopsisdiv&gt;
+  {@toc}
+  &lt;refsect1 id=&quot;{@id framework_intro}&quot;&gt;
+    &lt;title&gt;Introduction&lt;/title&gt;
+    &lt;para&gt;
+
+    &lt;/para&gt;
+    &lt;refsect2 id=&quot;{@id framework_intro_whatis}&quot;&gt;
+      &lt;title&gt;What is Krai Framework?&lt;/title&gt;
+      &lt;para&gt;
+        Krai Framework is a {@link http://www.php.net PHP} application
+        framework specifically for PHP5. The intention is to abstract from
+        the most nitty-gritty details of developing a web application in
+        order to focus on functionality and presentation.
+      &lt;/para&gt;
+      &lt;para&gt;
+        Krai Framework started life as KvFramework 2.0 beta, which was also
+        being developed by the same person. The change of names occurred in
+        order to provide a concise naming scheme when the framework was
+        converted into a (nominally) {@link http://pear.php.net PEAR}
+        compatible format.
+      &lt;/para&gt;
+    &lt;/refsect2&gt;
+    &lt;refsect2 id=&quot;{@id framework_intro_devs}&quot;&gt;
+      &lt;title&gt;The Developers&lt;/title&gt;
+      &lt;para&gt;
+        Krai Framework currently has a single developer by the name of Greg
+        McWhirter. He is a graduate student in Logic and the Philosophy of
+        Science at UC Irvine and a long-time hobbyist programmer. This is
+        actually the third framework he has developed, but the first that
+        has been publically released.
+      &lt;/para&gt;
+    &lt;/refsect2&gt;
+    &lt;refsect2 id=&quot;{@id framework_intro_tech}&quot;&gt;
+      &lt;title&gt;The Technology&lt;/title&gt;
+      &lt;para&gt;
+        Krai Framework is developed for PHP5 and MySQL mainly, though some
+        support is available in an alpha state for other databases through
+        {@link http://www.php.net/pdo PDO}. It is entirely object oriented.
+      &lt;/para&gt;
+    &lt;/refsect2&gt;
+  &lt;/refsect1&gt;
+  &lt;refsect1 id=&quot;{@id framework_intro_phil}&quot;&gt;
+    &lt;title&gt;Philosophy&lt;/title&gt;
+    &lt;para&gt;
+      The developer was inspired by having developed applications using
+      frameworks such as Ruby on Rails. Such frameworks were easy to
+      develop in, but they seemed a bit too tied to certain libraries.
+      Additionally, database support was usually too rigid to easily
+      execute complex queries with a minimum of extraneous data returned.
+    &lt;/para&gt;
+    &lt;para&gt;
+      As such, Krai Framework is intended to be a lightweight framework,
+      trying to provide a framework that changes some of those things.
+      While providing a core that allows for the development of
+      applications without the worry of low-level details, it still
+      provides extreme flexibility for developers.
+    &lt;/para&gt;
+  &lt;/refsect1&gt;
 &lt;/refentry&gt;</diff>
      <filename>tutorials/Krai/Krai.pkg</filename>
    </modified>
    <modified>
      <diff>@@ -1,12 +1,11 @@
-[Linked Tutorials] 
-Base 
+[Linked Tutorials]
 Cache 
-Config 
-Db 
-Lib 
-Log 
-Mail 
-Markup 
-Module 
+Config
+Db
+Lib
+Log
+Mail
+Markup
+Module
 Router
 Struct</diff>
      <filename>tutorials/Krai/Krai.pkg.ini</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>tutorials/Krai/Base.pkg</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>8b2ee879d8f210bb56aafe3a295d41446e84c3fb</id>
    </parent>
  </parents>
  <author>
    <name>Greg McWhirter</name>
    <email>greg@hallofkvasir.org</email>
  </author>
  <url>http://github.com/gsmcwhirter/krai/commit/ff9f5655b9e7ea141c0fe4c8f1e9e6d14624c54d</url>
  <id>ff9f5655b9e7ea141c0fe4c8f1e9e6d14624c54d</id>
  <committed-date>2008-07-23T17:49:23-07:00</committed-date>
  <authored-date>2008-07-23T17:49:23-07:00</authored-date>
  <message>Update</message>
  <tree>ff1440e264f873fc2958768bcc241fc5e2436708</tree>
  <committer>
    <name>Greg McWhirter</name>
    <email>greg@hallofkvasir.org</email>
  </committer>
</commit>
