Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
cc_organization Class Reference

Organization Class. More...

Inheritance diagram for cc_organization:
cc_i_organization

Public Member Functions

 __construct ($node=null, $doc=null)
 
 add_item (cc_i_item &$item)
 Add one Item into the Organization.
 
 add_new_item ($title='')
 Add new Item into the Organization.
 
 attr_value (&$nod, $name, $ns=null)
 
 has_items ()
 
 init_new ()
 
 process_organization (&$node, &$doc)
 
 uuidgen ()
 

Public Attributes

 $identifier = null
 
 $itemlist = null
 
 $structure = null
 
 $title = null
 

Protected Attributes

bool $isempty
 true if empty, otherwise false.
 

Detailed Description

Organization Class.

Member Function Documentation

◆ add_item()

cc_organization::add_item ( cc_i_item & $item)

Add one Item into the Organization.

Parameters
cc_i_item$item

Implements cc_i_organization.

◆ add_new_item()

cc_organization::add_new_item ( $title = '')

Add new Item into the Organization.

Parameters
string$title
Return values
cc_i_item

◆ attr_value()

cc_organization::attr_value ( & $nod,
$name,
$ns = null )

Implements cc_i_organization.

◆ has_items()

cc_organization::has_items ( )

Implements cc_i_organization.

◆ process_organization()

cc_organization::process_organization ( & $node,
& $doc )

Implements cc_i_organization.


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