Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 2104 | Rev 2145 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 2104 Rev 2105
Línea 71... Línea 71...
71
        $select = $this->sql->select(self::_TABLE);
71
        $select = $this->sql->select(self::_TABLE);
72
        $select->where->equalTo('uuid', $uuid);
72
        $select->where->equalTo('uuid', $uuid);
Línea 73... Línea 73...
73
        
73
        
74
        return $this->executeFetchOneObject($select, $prototype);
74
        return $this->executeFetchOneObject($select, $prototype);
-
 
75
    }
-
 
76
 
-
 
77
    /**
-
 
78
     *
-
 
79
     * @param int $uuid
-
 
80
     * @return Topic
-
 
81
     */
-
 
82
    public function fetchOneByUuidOrTitle($uuidOrTitle)
-
 
83
    {
-
 
84
        $prototype = new Topic();
-
 
85
        $select = $this->sql->select(self::_TABLE);
-
 
86
        $select->where->equalTo('uuid', $uuidOrTitle)->or->equalTo('title', $uuidOrTitle);
-
 
87
        
-
 
88
        return $this->executeFetchOneObject($select, $prototype);
-
 
89
    }
75
    }
90
 
76
    public function fetchOneByUuidAndGroupId($uuid,$group_id)
91
    public function fetchOneByUuidAndGroupId($uuid,$group_id)
77
    {
92
    {
78
        $prototype = new Topic();
93
        $prototype = new Topic();
79
        $select = $this->sql->select(self::_TABLE);
94
        $select = $this->sql->select(self::_TABLE);