Stud.IP  jlu_3.3 Revision
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 ()
 
 init ()
 
 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, $length=null, $delimeter=">", $offset=0)
 
 getMaxPriority ($parent_id)
 
 getNumEntries ($item_id, $num_entries_from_kids=false)
 
 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()

DeleteItems (   $items_to_delete)
Here is the call graph for this function:

◆ DeleteSemEntries()

DeleteSemEntries (   $item_ids = null,
  $sem_entries = null 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getAdminRange()

getAdminRange (   $item_id)

◆ getLonelySemData()

getLonelySemData (   $item_id)

◆ getNumEntries()

getNumEntries (   $item_id,
  $num_entries_from_kids = false 
)

Reimplemented from TreeAbstract.

Here is the call graph for this function:

◆ getSemData()

getSemData (   $item_id,
  $sem_data_from_kids = false 
)
Here is the call graph for this function:

◆ getSemIds()

getSemIds (   $item_id,
  $ids_from_kids = false 
)
Here is the call graph for this function:

◆ init()

init ( )

initializes the tree

stores all rows from table sem_tree in array $tree_data @access public

Reimplemented from TreeAbstract.

Here is the call graph for this function:

◆ initEntries()

initEntries ( )
Here is the caller graph for this function:

◆ InsertItem()

InsertItem (   $item_id,
  $parent_id,
  $item_name,
  $item_info,
  $priority,
  $studip_object_id,
  $type 
)
Here is the call graph for this function:

◆ InsertSemEntry()

InsertSemEntry (   $sem_tree_id,
  $seminar_id 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isModuleItem()

isModuleItem (   $item_id)
Here is the call graph for this function:

◆ StudipSemTree()

StudipSemTree (   $args)

constructor

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

Here is the call graph for this function:

◆ UpdateItem()

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

Field Documentation

◆ $enable_lonely_sem

$enable_lonely_sem = true

◆ $sem_dates

$sem_dates = array()

◆ $sem_number

◆ $sem_status

$sem_status = array()

◆ $visible_only

$visible_only = false

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