Class NewsItem

Description

Located in /lib/NewsItem.php (line 15)


	
			
Variable Summary
 string $content
 int $date
 string $language
 string $title
Method Summary
 void createNew (string $date, string $title, string $content, string $language)
Variables
string $content (line 33)

The article itself

  • access: public
int $date (line 21)

Date article was published. Unix timestamp format is used.

  • access: public
string $language (line 39)

The article's natural language.

  • access: public
string $title (line 27)

Title of news article

  • access: public
Methods
createNew (line 49)

Adds a new news item to the database.

  • static:
  • access: public
void createNew (string $date, string $title, string $content, string $language)
  • string $date: date item was published
  • string $title: article title
  • string $content: the article itself
  • string $language: the published natural language

Documentation generated on Mon, 25 Oct 2004 15:21:44 -0700 by phpDocumentor 1.3.0RC3