feed class
This commit is contained in:
@@ -113,9 +113,17 @@ class Project extends PhpObject {
|
||||
return $bSpecificProj?$asProject:$asProjects;
|
||||
}
|
||||
|
||||
public function getFeedIds() {
|
||||
return $this->oDb->selectColumn(
|
||||
Feed::FEED_TABLE,
|
||||
Db::getId(Feed::FEED_TABLE),
|
||||
array(Db::getId(self::PROJ_TABLE) => $this->getProjectId())
|
||||
);
|
||||
}
|
||||
|
||||
private function setProjectInfo() {
|
||||
if($this->iProjectId > 0) {
|
||||
$asProject = $this->getProjects($this->iProjectId);
|
||||
if($this->getProjectId() > 0) {
|
||||
$asProject = $this->getProjects($this->getProjectId());
|
||||
|
||||
$this->sMode = $asProject['mode'];
|
||||
$this->asActive = array('from'=>$asProject['active_from'], 'to'=>$asProject['active_to']);
|
||||
|
||||
Reference in New Issue
Block a user