Stud.IP  jlu_3.3 Revision
ContentElement Class Reference
Collaboration diagram for ContentElement:
Collaboration graph

Public Member Functions

 __construct ($title, $summary, $content, $creatorid, $creator, $url, $date)
 
 __call ($method, $args)
 
 toJSON ()
 

Constructor & Destructor Documentation

◆ __construct()

__construct (   $title,
  $summary,
  $content,
  $creatorid,
  $creator,
  $url,
  $date 
)

create a new ContentElement

Parameters
string$titletitle of the element
string$summarya summary of the elements content
string$contentcontent of the element
string$creator_iduser_id of the creator of the element
string$creatoruser-name of the creator of the element
string$urlurl to goto if element is selected
int$datetimestamp, when the element has been created

Member Function Documentation

◆ __call()

__call (   $method,
  $args 
)

implements getters for all object-variables

◆ toJSON()

toJSON ( )
Here is the call graph for this function:

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