Class SloodleBlogPost

Description

Represents a single blog post

Located in /lib/modules/module_blog.php (line 259)


	
			
Variable Summary
Method Summary
 void load_data (object $rec)
 void set (mixed $id, string $subject, string $body, SloodleUser $user, string $visibility, int $timestamp_created, int $timestamp_modified)
 void SloodleChatMessage ([mixed $id = 0], [string $subject = ''], [string $body = ''], [SloodleUser $user = null], [string $visibility = ''], [int $timestamp_created = 0], [int $timestamp_modified = 0])
Variables
string $body = '' (line 342)

The body of the post.

  • access: public
mixed $id = 0 (line 328)

The ID of the message.

The type depends on the VLE, but typically is an integer.

  • access: public
string $subject = '' (line 335)

The subject of the post.

  • access: public
int $timestamp_created = 0 (line 363)

Timestamp of when this message was created.

  • access: public
int $timestamp_modified = 0 (line 370)

Timestamp of when this message was last modified.

  • access: public
SloodleUser $user = null (line 349)

The user who wrote this message.

  • access: public
string $visibility = 0 (line 356)

The visibility of this post.

  • access: public
Methods
load_data (line 309)

Loads the data from a post record object.

void load_data (object $rec)
  • object $rec: Database record object contain the data required
set (line 293)

Accessor - set all members in a single call.

void set (mixed $id, string $subject, string $body, SloodleUser $user, string $visibility, int $timestamp_created, int $timestamp_modified)
  • mixed $id: The ID of this message - type depends on VLE, but is typically an integer
  • string $subject: The subject line of this post
  • string $body: The body text of this post
  • SloodleUser $user: The user who posted this entry
  • string $visibility: The visibility identifier of this post
  • int $timestamp_created: Time when this post was first made
  • int $timestamp_modified: Time when this post was last modified
SloodleChatMessage (line 271)

Constructor - initialises members.

void SloodleChatMessage ([mixed $id = 0], [string $subject = ''], [string $body = ''], [SloodleUser $user = null], [string $visibility = ''], [int $timestamp_created = 0], [int $timestamp_modified = 0])
  • mixed $id: The ID of this message - type depends on VLE, but is typically an integer
  • string $subject: The subject line of this post
  • string $body: The body text of this post
  • SloodleUser $user: The user who posted this entry
  • string $visibility: The visibility identifier of this post
  • int $timestamp_created: Time when this post was first made
  • int $timestamp_modified: Time when this post was last modified

Documentation generated on Mon, 07 Jul 2008 12:32:51 +0100 by phpDocumentor 1.4.0