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

Class: Link

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

Class Overview

Resource
   |
   --Link

A WWW-link from the Links-module in a Dokeos-course.


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 30]
A WWW-link from the Links-module in a Dokeos-course.



Tags:

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


[ Top ]


Class Variables

$category_id =

[line 47]

Id of this links category


Type:   mixed


[ Top ]

$description =

[line 43]

The description


Type:   mixed


[ Top ]

$on_homepage =

[line 51]

Display link on course homepage


Type:   mixed


[ Top ]

$title =

[line 35]

The title


Type:   mixed


[ Top ]

$url =

[line 39]

The URL


Type:   mixed


[ Top ]



Class Methods


constructor Link [line 59]

Link Link( int $id, string $title, string $url, string $description, $category_id, $on_homepage)

Create a new Link



Parameters:

int   $id   The id of this link in the Dokeos-course
string   $title  
string   $url  
string   $description  
   $category_id  
   $on_homepage  

[ Top ]

method show [line 71]

void show( )

Show this resource



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

[ Top ]


Documentation generated on Wed, 05 Sep 2007 06:14:54 +0200 by phpDocumentor 1.4.0