SwimmPair-Www v1.0
PHP Model of SwimmPair web application
Loading...
Searching...
No Matches
Post Class Reference
Collaboration diagram for Post:
Collaboration graph

Public Member Functions

 __construct ($id, $timestamp, $title, $content, $display_flag, $author_user_id, $signature_flag)
 
 NullCtor ()
 
 Serialize ()
 

Public Attributes

 $id
 
 $timestamp
 
 $title
 
 $content
 
 $display_flag
 
 $author_user_id
 
 $signature_flag
 

Detailed Description

Post is a static snippet of news for homepage of web application.

Constructor & Destructor Documentation

◆ __construct()

Post::__construct (   $id,
  $timestamp,
  $title,
  $content,
  $display_flag,
  $author_user_id,
  $signature_flag 
)

Ctor of Post object for web application

Parameters
int$id
string$timestamp
string$title
string$content
bool$display_flag
int$author_user_id
int$signature_flag

Member Function Documentation

◆ NullCtor()

Post::NullCtor ( )

TODO - Constructor of Post with nothing inside. Not working yet.

Returns
void

◆ Serialize()

Post::Serialize ( )

Serialize outputs 7/7 these members: id, timestamp, title, content, display_flag, author_user_id, signature_flag

Returns
string

The documentation for this class was generated from the following file: