| Línea 105... | 
            Línea 105... | 
          
          
            | 105 | 
                    $select = $this->sql->select(self::_TABLE);
  | 
            105 | 
                    $select = $this->sql->select(self::_TABLE);
  | 
          
          
            | 106 | 
                    $select->where->equalTo('company_id', $company_id)->equalTo('status', 'a');
  | 
            106 | 
                    $select->where->equalTo('company_id', $company_id)->equalTo('status', 'a');
  | 
          
          
            | 107 | 
                    $select->where->notEqualTo('status', PlanningObjectivesAndGoalsObjectives::STATUS_DELETE);
  | 
            107 | 
                    $select->where->notEqualTo('status', PlanningObjectivesAndGoalsObjectives::STATUS_DELETE);
  | 
          
          
            | 108 | 
                    return $this->executeFetchAllObject($select, $prototype);
  | 
            108 | 
                    return $this->executeFetchAllObject($select, $prototype);
  | 
          
          
            | 109 | 
                }
  | 
            109 | 
                }
  | 
          
          
            | - | 
               | 
            110 | 
                public function fetchAllHptg($company_id, $high_performance_team_group_id)
  | 
          
          
            | - | 
               | 
            111 | 
                {
  | 
          
          
            | - | 
               | 
            112 | 
                    $prototype = new PlanningObjectivesAndGoalsObjectives();
  | 
          
          
            | - | 
               | 
            113 | 
                    $select = $this->sql->select(self::_TABLE);
  | 
          
          
            | - | 
               | 
            114 | 
                    $select->where->equalTo('company_id', $company_id);
  | 
          
          
            | - | 
               | 
            115 | 
                    $select->where->equalTo('status', PlanningObjectivesAndGoalsObjectives::STATUS_ACTIVE);
  | 
          
          
            | - | 
               | 
            116 | 
                    $select->where->equalTo('high_performance_team_group_id', $high_performance_team_group_id);
  | 
          
          
            | - | 
               | 
            117 | 
                    return $this->executeFetchAllObject($select, $prototype);
  | 
          
          
            | - | 
               | 
            118 | 
                }
  | 
          
          
            | 110 | 
                public function insert($datos)
  | 
            119 | 
                public function insert($datos)
  | 
          
          
            | 111 | 
                {
  | 
            120 | 
                {
  | 
          
          
            | 112 | 
                    $hydrator = new ObjectPropertyHydrator();
  | 
            121 | 
                    $hydrator = new ObjectPropertyHydrator();
  | 
          
          
            | 113 | 
                    $values = $hydrator->extract($datos);
  | 
            122 | 
                    $values = $hydrator->extract($datos);
  | 
          
          
            | 114 | 
                    $values = $this->removeEmpty($values);
  | 
            123 | 
                    $values = $this->removeEmpty($values);
  |