Stud.IP  2.0 Revision 48548
 All Data Structures Namespaces Files Functions Variables Pages
StudipSemTree Class Reference
Inheritance diagram for StudipSemTree:
Inheritance graph
Collaboration diagram for StudipSemTree:
Collaboration graph

Public Member Functions

 StudipSemTree ($args)
 init ()
 initEntries ()
 isModuleItem ($item_id)
 getSemIds ($item_id, $ids_from_kids=false)
 getSemData ($item_id, $sem_data_from_kids=false)
 getLonelySemData ($item_id)
 getNumEntries ($item_id, $num_entries_from_kids=false)
 getAdminRange ($item_id)
 InsertItem ($item_id, $parent_id, $item_name, $item_info, $priority, $studip_object_id, $type)
 UpdateItem ($item_id, $item_name, $item_info, $type)
 DeleteItems ($items_to_delete)
 DeleteSemEntries ($item_ids=null, $sem_entries=null)
 InsertSemEntry ($sem_tree_id, $seminar_id)
- Public Member Functions inherited from TreeAbstract
 TreeAbstract ()
 storeItem ($item_id, $parent_id, $name, $priority)
 buildIndex ($item_id=false)
 getKids ($item_id)
 getNumKids ($item_id)
 getKidsKids ($item_id, $in_recursion=false)
 getNumKidsKids ($item_id, $in_recursion=false)
 isLastKid ($item_id)
 isFirstKid ($item_id)
 isChildOf ($ancestor_id, $item_id)
 hasKids ($item_id)
 getItemPath ($item_id)
 getParents ($item_id)
 getShortPath ($item_id, $depth=false, $delimeter=">")
 getMaxPriority ($parent_id)
 getNumEntriesKids ($item_id, $in_recursion=false)
 getValue ($item_id, $field)

Data Fields

 $sem_dates = array()
 $sem_number = null
 $enable_lonely_sem = true
 $visible_only = false
 $sem_status = array()
- Data Fields inherited from TreeAbstract
 $root_name
 $view
 $tree_data = array()
 $tree_childs = array()
 $tree_num_childs = array()
 $index_offset = 0

Additional Inherited Members

- Static Public Member Functions inherited from TreeAbstract
 GetInstance ($class_name, $args=null, $invalidate_cache=false)

Member Function Documentation

DeleteItems (   $items_to_delete)

Here is the call graph for this function:

DeleteSemEntries (   $item_ids = null,
  $sem_entries = null 
)

Here is the call graph for this function:

Here is the caller graph for this function:

getAdminRange (   $item_id)
getLonelySemData (   $item_id)
getNumEntries (   $item_id,
  $num_entries_from_kids = false 
)

Reimplemented from TreeAbstract.

Here is the call graph for this function:

getSemData (   $item_id,
  $sem_data_from_kids = false 
)

Here is the call graph for this function:

getSemIds (   $item_id,
  $ids_from_kids = false 
)

Here is the call graph for this function:

init ( )

initializes the tree

stores all rows from table sem_tree in array $tree_data public

Reimplemented from TreeAbstract.

Here is the call graph for this function:

initEntries ( )

Here is the caller graph for this function:

InsertItem (   $item_id,
  $parent_id,
  $item_name,
  $item_info,
  $priority,
  $studip_object_id,
  $type 
)

Here is the call graph for this function:

InsertSemEntry (   $sem_tree_id,
  $seminar_id 
)

Here is the call graph for this function:

Here is the caller graph for this function:

isModuleItem (   $item_id)

Here is the call graph for this function:

StudipSemTree (   $args)

constructor

do not use directly, call TreeAbstract::GetInstance("StudipRangeTree") private

Here is the call graph for this function:

UpdateItem (   $item_id,
  $item_name,
  $item_info,
  $type 
)

Field Documentation

$enable_lonely_sem = true
$sem_dates = array()
$sem_number = null
$sem_status = array()
$visible_only = false

The documentation for this class was generated from the following file: