Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 1 Rev 2957
Línea 73... Línea 73...
73
        $select = $this->sql->select(self::_TABLE);
73
        $select = $this->sql->select(self::_TABLE);
74
        $select->where->equalTo('user_id', $user_id)->and->equalTo('read', Notification::NO);
74
        $select->where->equalTo('user_id', $user_id)->and->equalTo('read', Notification::NO);
Línea 75... Línea 75...
75
        
75
        
76
        return $this->executeFetchAllObject($select, $prototype);
76
        return $this->executeFetchAllObject($select, $prototype);
-
 
77
    }
-
 
78
 
-
 
79
    /**
-
 
80
     *
-
 
81
     * @param int $user_id
-
 
82
     * @return Notification[]
-
 
83
     */
-
 
84
    public function fetchAllsReadByUserId($user_id)
-
 
85
    {
-
 
86
        $prototype = new Notification();
-
 
87
 
-
 
88
        $select = $this->sql->select(self::_TABLE);
-
 
89
        $select->where->equalTo('user_id', $user_id);
-
 
90
 
-
 
91
        return $this->executeFetchAllObject($select, $prototype);
Línea 77... Línea 92...
77
    }
92
    }
78
    
93
    
79
    /**
94
    /**
80
     * 
95
     *