Stud.IP  trunk Revision
ResourceObject Class Reference
Collaboration diagram for ResourceObject:
Collaboration graph

Public Member Functions

 __construct ($argv)
 
 createId ()
 
 create ()
 
 setName ($name)
 
 setDescription ($description)
 
 setCategoryId ($category_id)
 
 setMultipleAssign ($value)
 
 setRequestable ($value)
 
 setParentBind ($parent_bind)
 
 setLockable ($lockable)
 
 setOwnerId ($owner_id)
 
 setInstitutId ($institut_id)
 
 getId ()
 
 getRootId ()
 
 getParentId ()
 
 getName ()
 
 getCategoryName ()
 
 getCategoryIconnr ()
 
 getCategoryId ()
 
 getDescription ()
 
 getOwnerId ()
 
 getInstitutId ()
 
 getMultipleAssign ()
 
 getRequestable ()
 
 getParentBind ()
 
 getOwnerType ($id='')
 
 getOrgaName ($explain=false, $id='')
 
 getOwnerName ($explain=false, $id='')
 
 getFormattedLink ($javaScript=true, $target_new=true, $quick_view=true, $view='view_schedule', $view_mode='no_nav', $timestamp=false, $link_text=false)
 
 getOrgaLink ($id='')
 
 getOwnerLink ($id='')
 
 getPlainProperties ($only_requestable=false, $only_info_label_visible=false)
 
 getSeats ()
 
 isUnchanged ()
 
 isDeletable ()
 
 isParent ()
 
 isAssigned ()
 
 isRoom ()
 
 isLocked ()
 
 isLockable ()
 
 flushProperties ($id='')
 
 storeProperty ($property_id, $state)
 
 deletePerms ($user_id)
 
 storePerms ($user_id, $perms='')
 
 restore ($id='')
 
 store ($create='')
 
 delete ()
 
 updateAllAssigns ()
 
 deleteResourceRecursive ($id)
 
 getPathArray ($include_self=false)
 
 getPathToString ($include_self=false, $delimiter='/')
 

Static Public Member Functions

static Factory ()
 
static isScheduleViewAllowed ($object_id)
 

Data Fields

 $id
 
 $name
 
 $description
 
 $owner_id
 
 $category_id
 
 $category_name
 
 $category_iconnr
 
 $is_room = null
 
 $is_parent = null
 
 $my_state = null
 

Constructor & Destructor Documentation

◆ __construct()

__construct (   $argv)
Here is the call graph for this function:

Member Function Documentation

◆ create()

create ( )
Here is the call graph for this function:

◆ createId()

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

◆ delete()

delete ( )
Here is the call graph for this function:

◆ deletePerms()

deletePerms (   $user_id)
Here is the call graph for this function:

◆ deleteResourceRecursive()

deleteResourceRecursive (   $id)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Factory()

static Factory ( )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ flushProperties()

flushProperties (   $id = '')
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getCategoryIconnr()

getCategoryIconnr ( )

◆ getCategoryId()

getCategoryId ( )

◆ getCategoryName()

getCategoryName ( )

◆ getDescription()

getDescription ( )

◆ getFormattedLink()

getFormattedLink (   $javaScript = true,
  $target_new = true,
  $quick_view = true,
  $view = 'view_schedule',
  $view_mode = 'no_nav',
  $timestamp = false,
  $link_text = false 
)
Here is the call graph for this function:

◆ getId()

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

◆ getInstitutId()

getInstitutId ( )

◆ getMultipleAssign()

getMultipleAssign ( )

◆ getName()

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

◆ getOrgaLink()

getOrgaLink (   $id = '')

◆ getOrgaName()

getOrgaName (   $explain = false,
  $id = '' 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getOwnerId()

getOwnerId ( )

◆ getOwnerLink()

getOwnerLink (   $id = '')
Here is the call graph for this function:

◆ getOwnerName()

getOwnerName (   $explain = false,
  $id = '' 
)
Here is the call graph for this function:

◆ getOwnerType()

getOwnerType (   $id = '')
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getParentBind()

getParentBind ( )

◆ getParentId()

getParentId ( )

◆ getPathArray()

getPathArray (   $include_self = false)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getPathToString()

getPathToString (   $include_self = false,
  $delimiter = '/' 
)
Here is the call graph for this function:

◆ getPlainProperties()

getPlainProperties (   $only_requestable = false,
  $only_info_label_visible = false 
)
Here is the call graph for this function:

◆ getRequestable()

getRequestable ( )

Get wether the ResourceObject is requestable or not

Returns
bool

◆ getRootId()

getRootId ( )

◆ getSeats()

getSeats ( )
Here is the call graph for this function:

◆ isAssigned()

isAssigned ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isDeletable()

isDeletable ( )
Here is the call graph for this function:

◆ isLockable()

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

◆ isLocked()

isLocked ( )
Here is the call graph for this function:

◆ isParent()

isParent ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isRoom()

isRoom ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isScheduleViewAllowed()

static isScheduleViewAllowed (   $object_id)
static

Checks if the resource occupation may be seen by current user.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isUnchanged()

isUnchanged ( )

◆ restore()

restore (   $id = '')
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setCategoryId()

setCategoryId (   $category_id)

◆ setDescription()

setDescription (   $description)

◆ setInstitutId()

setInstitutId (   $institut_id)

◆ setLockable()

setLockable (   $lockable)

◆ setMultipleAssign()

setMultipleAssign (   $value)
Here is the call graph for this function:

◆ setName()

setName (   $name)

◆ setOwnerId()

setOwnerId (   $owner_id)

◆ setParentBind()

setParentBind (   $parent_bind)

◆ setRequestable()

setRequestable (   $value)

Set wether the ResourceObject is requestable or not

Parameters
bool$value
Here is the call graph for this function:

◆ store()

store (   $create = '')
Here is the call graph for this function:
Here is the caller graph for this function:

◆ storePerms()

storePerms (   $user_id,
  $perms = '' 
)
Here is the call graph for this function:

◆ storeProperty()

storeProperty (   $property_id,
  $state 
)
Here is the call graph for this function:

◆ updateAllAssigns()

updateAllAssigns ( )

update all assigns for this resource

Exceptions
Exception
Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

◆ $category_iconnr

$category_iconnr

◆ $category_id

$category_id

◆ $category_name

$category_name

◆ $description

$description

◆ $id

$id

◆ $is_parent

$is_parent = null

◆ $is_room

$is_room = null

◆ $my_state

$my_state = null

◆ $name

$name

◆ $owner_id

$owner_id

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