Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 1211 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1211 Rev 1213
Línea 77... Línea 77...
77
    {
77
    {
78
        $prototype = new PlanningObjectivesAndGoalsTask();
78
        $prototype = new PlanningObjectivesAndGoalsTask();
79
        $select = $this->sql->select(self::_TABLE);
79
        $select = $this->sql->select(self::_TABLE);
80
        $select->where->equalTo('id_goals', $id_goals);
80
        $select->where->equalTo('id_goals', $id_goals);
81
        $select->where->notEqualTo('status', PlanningObjectivesAndGoalsTask::STATUS_DELETE);
81
        $select->where->notEqualTo('status', PlanningObjectivesAndGoalsTask::STATUS_DELETE);
-
 
82
        return $this->executeFetchAllObject($select, $prototype);
Línea 82... Línea -...
82
        
-
 
83
        
-
 
84
        $hydrator   = new ObjectPropertyHydrator();
-
 
85
        $resultset  = new HydratingResultSet($hydrator, $prototype);
-
 
86
       
-
 
87
        $adapter = new DbSelect($select, $this->sql, $resultset);
-
 
88
        return $resultset->initialize($adapter);
83
        
Línea 89... Línea 84...
89
    }
84
    }
90
 
85
 
91
    public function insert($datos)
86
    public function insert($datos)