[Alba-desarrollo] SVN Alba r6123 - prosistem/alba/trunk/alba/lib/model

commits en pressenter.com.ar commits en pressenter.com.ar
Vie Abr 24 22:29:17 CEST 2009


Author: josx
Date: 2009-04-24 17:29:17 -0300 (Fri, 24 Apr 2009)
New Revision: 6123

Modified:
   prosistem/alba/trunk/alba/lib/model/DivisionPeer.php
Log:
Arreglandojoin entre division y anio ordenado 

Modified: prosistem/alba/trunk/alba/lib/model/DivisionPeer.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/DivisionPeer.php	2009-04-24 20:26:34 UTC (rev 6122)
+++ prosistem/alba/trunk/alba/lib/model/DivisionPeer.php	2009-04-24 20:29:17 UTC (rev 6123)
@@ -17,10 +17,18 @@
  * long as it does not already exist in the output directory.
  *
  * @package model
- */	
+ */
 class DivisionPeer extends BaseDivisionPeer {
 
+    public static function doSelectJoinAnioByOrden(Criteria $c, $con = null, $join_behavior = Criteria::LEFT_JOIN) {
+//      $c->addAscendingOrderByColumn(AnioPeer::ORDEN);   
+        $c->addAscendingOrderByColumn(AnioPeer::DESCRIPCION);
+        $c->addAscendingOrderByColumn(DivisionPeer::ORDEN);
+        $c->addAscendingOrderByColumn(DivisionPeer::DESCRIPCION);
+        return DivisionPeer::doSelectJoinAnio($c);
+    }
 
+/*
 	public static function doSelectJoinAnioByOrden(Criteria $c, $con = null)
 	{
 		$c = clone $c;
@@ -70,5 +78,6 @@
 		}
 		return $results;
 	}
+ */
 
 } // DivisionPeer




Más información sobre la lista de distribución Alba-desarrollo