public function __construct($blogID, $postID, $authorID, $title, $public, $timestamp, $content) { $this->blogID = $blogID; $this->postID = $postID; $this->authorID = $authorID; $this->authorName = BusinessLogic_User_User::ConvertUserIDToName($authorID); $this->title = $title; $this->public = $public; $this->timestamp = $timestamp; $this->content = $content; $this->showcontrols = false; }
public function __construct($blogID, $postID, $commentID, $authorID, $title, $timestamp, $content) { $this->blogID = $blogID; $this->postID = $postID; $this->commentID = $commentID; $this->authorID = $authorID; $this->authorName = BusinessLogic_User_User::ConvertUserIDToName($authorID); $this->title = $title; $this->timestamp = $timestamp; $this->content = $content; $this->controls = ''; $this->linkprefix = explode('?', $_SERVER['REQUEST_URI'], 2); $this->linkprefix = $this->linkprefix[0]; }