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

Class: LinkFactory

Source Location: /main/gradebook/lib/be/linkfactory.class.php

Class Overview


Factory for link objects


Author(s):

  • Bert SteppĂ©

Methods



Class Details

[line 30]
Factory for link objects



Tags:

author:  Bert SteppĂ©


[ Top ]


Class Methods


method create [line 78]

void create( $type $type)

Static method to create specific link objects



Tags:

access:  public


Parameters:

$type   $type   link type

[ Top ]

method find_links [line 69]

array find_links( string $name_mask, $selectcat)

Find links by name



Tags:

return:  link objects matching the search criterium
access:  public


Parameters:

string   $name_mask   search string
   $selectcat  

[ Top ]

method get_all_types [line 90]

void get_all_types( )

Return an array of all known link types



Tags:

access:  public


[ Top ]

method get_evaluation_link [line 52]

void get_evaluation_link( $eval_id)

Get the link object referring to an evaluation



Tags:

access:  public


Parameters:

   $eval_id  

[ Top ]

method load [line 43]

void load( [$id $id = null], [$type $type = null], [$ref_id $ref_id = null], [$user_id $user_id = null], [$course_code $course_code = null], [$category_id $category_id = null], [$visible $visible = null])

Retrieve links and return them as an array of extensions of AbstractLink.



Tags:

access:  public


Parameters:

$id   $id   link id
$type   $type   link type
$ref_id   $ref_id   reference id
$user_id   $user_id   user id (link owner)
$course_code   $course_code   course code
$category_id   $category_id   parent category
$visible   $visible   visible

[ Top ]


Documentation generated on Thu, 12 Jun 2008 13:59:49 -0500 by phpDocumentor 1.4.1