From: ETd <et...@us...> - 2004-10-08 16:01:47
|
Update of /cvsroot/openbash-org/openbash-org/modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1581/modules Modified Files: News.php Log Message: Creado el esqueleto principal de la clase, hereda el comportamiento de una subclase (etdDBContainer) y falta casi todo por hacer :) Index: News.php =================================================================== RCS file: /cvsroot/openbash-org/openbash-org/modules/News.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** News.php 21 Aug 2004 19:55:42 -0000 1.1 --- News.php 8 Oct 2004 16:01:35 -0000 1.2 *************** *** 1,4 **** --- 1,10 ---- <?php /* vim: set sts=2 ts=8 sw=2 noexpandtab: */ + /* + * News.php + * 8 / OCT / 2004 + * author: etd <et...@no...> + */ + class News { var $id; *************** *** 19,32 **** } ! /* ! * Displays the news in a fancy way ! */ ! function echoNews () { ! ?> ! <div class="news"> ! <?php ! ! } - ?> --- 25,35 ---- } ! function getId() { return $this->id; } ! function getAuthor() { return $this->author; } ! function getDate() { return $this->datetime; } ! function getTitle() { return $this->title; } ! function getBody() { return $this->body; } ! } ! ?> |