com.lokorin.lokorin.lib
[ class tree: com.lokorin.lokorin.lib ] [ index: com.lokorin.lokorin.lib ] [ all elements ]

Class: Comment

Source Location: /_includes/lib_news.php

Class Overview

TableEntry
   |
   --Comment

Describes a news comment.


Author(s):

  • Andreas Launila

Variables

Methods


Inherited Variables

Inherited Methods

Class: TableEntry

TableEntry::__construct()
Constructor for TableEntry.
TableEntry::getId()
Gets the unique identifier for the table entry.
TableEntry::readRow()
Processes the contents of a retrieved row that describes the entry.

Class Details

[line 61]
Describes a news comment.



Tags:

author:  Andreas Launila


[ Top ]


Class Variables

$author =

[line 71]

The author of the comment.



Tags:

access:  private

Type:   string


[ Top ]

$contents =

[line 76]

The contents of the comment.



Tags:

access:  private

Type:   string


[ Top ]

$newsId =

[line 66]

The unique identifier of the news item that the comment is attached to.



Tags:

access:  private

Type:   integer


[ Top ]

$timestamp =

[line 81]

The time when the comment was made.



Tags:

access:  private

Type:   integer


[ Top ]



Class Methods


constructor __construct [line 88]

Comment __construct( integer $id)

Constructor for Comment.



Tags:

access:  public


Overrides TableEntry::__construct() (Constructor for TableEntry.)

Parameters:

integer   $id   The unique identifier for the comment that should be created.

[ Top ]

method getAsHTML [line 120]

string getAsHTML( )

Gets the comment as (X)HTML.



Tags:

return:  An XHTML compliant representation.
access:  public


[ Top ]

method getNewsEntry [line 112]

News getNewsEntry( )

Gets the news entry that the comment is attached to.



Tags:

return:  A new entry.
access:  public


[ Top ]

method readRow [line 101]

void readRow( mixed $row)



Tags:

access:  protected
see:  com.lokorin.dfcrafters.TableEntry.readRow($row)


Overrides TableEntry::readRow() (Processes the contents of a retrieved row that describes the entry.)

[ Top ]


Documentation generated on Sun, 16 Apr 2006 21:03:43 +0200 by phpDocumentor 1.3.0RC4