Todo List
Implements interfaces:
To implement specific links, extend this class and define a type in LinkFactory. Use the methods in LinkFactory to create link objects.
[line 22]
[line 21]
[line 17]
[line 23]
[line 19]
[line 18]
[line 20]
[line 25]
[line 24]
AbstractLink AbstractLink( )
void add( )
void add_linked_data( )
Overridden in child classes as:
void add_target_subcategories( $targets, $level, $catid)
void create_objects_from_mysql_result( $result)
void delete( )
void delete_linked_data( )
void find_links( $name_mask, $selectcat)
void get_all_links( )
void get_category_id( )
void get_course_code( )
void get_date( )
void get_icon_name( )
void get_id( )
void get_item_type( )
void get_link( )
void get_not_created_links( )
void get_ref_id( )
array get_target_categories( )
Notice: its own parent will be included in the list: it's up to the frontend to disable this element.
void get_type( )
void get_type_name( )
void get_user_id( )
void get_view_url( $stud_id)
void get_weight( )
void has_results( )
void is_allowed_to_change_name( )
void is_valid_link( )
void is_visible( )
void load( [ $id = null], [ $type = null], [ $ref_id = null], [ $user_id = null], [ $course_code = null], [ $category_id = null], [ $visible = null])
To keep consistency, do not call this method but LinkFactory::load instead.
void move_to_cat( $cat)
If this link moves to outside a course, delete it.
void needs_max( )
void needs_name_and_description( )
void needs_results( )
void save( )
void save_linked_data( )
void set_category_id( $category_id)
void set_course_code( $course_code)
void set_date( $date)
void set_description( $description)
void set_id( $id)
void set_max( $max)
void set_name( $name)
void set_ref_id( $ref_id)
void set_type( $type)
void set_user_id( $user_id)
void set_visible( $visible)
void set_weight( $weight)