X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/5c4a90780e6b44a93909ce459cfb8814d66c3a23..e59d3170b36e5b9ccc19afcb1565faf4dcb40463:/lib/noticia.php?ds=inline diff --git a/lib/noticia.php b/lib/noticia.php index 0b37c92..bd92c7b 100644 --- a/lib/noticia.php +++ b/lib/noticia.php @@ -56,7 +56,7 @@ class noticia { $this->noticia = $noticia; $db = MEconDAVDB::Connect(); $query = "SELECT A.headline, A.title, A.abstract, A.article, - A.publication_date, S.description + A.publication_date, S.description, S.section_id FROM Articles A, Sections S WHERE Article_id = $noticia AND A.section_id = S.section_id"; @@ -68,6 +68,7 @@ class noticia { $this->texto = $row[3]; $this->fecha = new Date($row[4]); $this->seccion = $row[5]; + $this->id_seccion = $row[6]; } // -X2C @@ -137,5 +138,16 @@ class noticia { } // -X2C + // +X2C Operation 197 + /** + * @return void + * @access public + */ + function getIdSeccion() // ~X2C + { + return $this->id_seccion; + } + // -X2C + } // -X2C Class :noticia -?> \ No newline at end of file +?>