Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 1682 Rev 1684
Línea 109... Línea 109...
109
        $select->where->equalTo('feed_id', $feed_id);
109
        $select->where->equalTo('feed_id', $feed_id);
110
        $select->where->equalTo('status', Feed::STATUS_PUBLISHED);
110
        $select->where->equalTo('status', Feed::STATUS_PUBLISHED);
111
        $select->where->IsNull('parent_id');
111
        $select->where->IsNull('parent_id');
112
        return $this->executeFetchAllObject($select, $prototype);
112
        return $this->executeFetchAllObject($select, $prototype);
113
    }
113
    }
-
 
114
    public function fetchAllPublishedByCommentId($comment_id)
-
 
115
    {
-
 
116
        $prototype = new Comment();
114
    
117
        
-
 
118
        $select = $this->sql->select(self::_TABLE);
-
 
119
        $select->where->equalTo('parent_id', $comment_id);
-
 
120
        $select->where->equalTo('status', Feed::STATUS_PUBLISHED);
-
 
121
        return $this->executeFetchAllObject($select, $prototype);
-
 
122
    }
Línea 115... Línea 123...
115
    
123
    
116
    /**
124
    /**
117
     *
125
     *
118
     * @param int $id
126
     * @param int $id