dokeos-backup
[ class tree: dokeos-backup ] [ index: dokeos-backup ] [ all elements ]

Class: Announcement

Source Location: /main/coursecopy/classes/Announcement.class.php

Class Overview

Resource
   |
   --Announcement

An announcement


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods

Class: Resource

Resource::Resource()
Create a new Resource
Resource::add_linked_resource()
Add linked resource
Resource::get_id()
Returns the id of this resource.
Resource::get_linked_resources()
Get linked resources
Resource::get_tool()
Get the constant which defines the tool of this resource. This is used in the item_properties table.
Resource::get_type()
Resturns the type of this resource
Resource::is_restored()
Check if this resource is allready restored in the destination course.
Resource::links_to()
Checks if this resource links to a given resource
Resource::set_new_id()
Set the destination id
Resource::show()
Show this resource

Class Details

[line 31]
An announcement



Tags:

author:  Bart Mollet <bart.mollet@hogent.be>


[ Top ]


Class Variables

$content =

[line 40]

The content of the announcement


Type:   mixed


[ Top ]

$date =

[line 44]

The date on which this announcement was made


Type:   mixed


[ Top ]

$display_order =

[line 48]

The display order of this announcement


Type:   mixed


[ Top ]

$email_sent =

[line 52]

Has the e-mail been sent?


Type:   mixed


[ Top ]

$title =

[line 36]

The title of the announcement


Type:   mixed


[ Top ]



Class Methods


constructor Announcement [line 61]

Announcement Announcement( int $id, string $title, string $content, string $date, int $display_order, $email_sent)

Create a new announcement



Parameters:

int   $id  
string   $title  
string   $content  
string   $date  
int   $display_order   display_order
   $email_sent  

[ Top ]

method show [line 73]

void show( )

Show this announcement



Overrides Resource::show() (Show this resource)

[ Top ]


Documentation generated on Thu, 12 Jun 2008 12:57:36 -0500 by phpDocumentor 1.4.1