Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | Public Attributes | List of all members
cc_item Class Reference

Item Class. More...

Inheritance diagram for cc_item:
cc_i_item

Public Member Functions

 __construct ($node=null, $doc=null)
 
 add_child_item (cc_i_item &$item)
 Add one Child Item. More...
 
 add_new_child_item ($title='')
 Add new child Item. More...
 
 attach_resource ($resource)
 
 attr_value (&$nod, $name, $ns=null)
 
 child_item ($identifier)
 
 has_child_items ()
 
 init_clean ()
 
 init_new_item ()
 
 process_item (&$node, &$doc)
 

Public Attributes

 $childitems = null
 
 $identifier = null
 
 $identifierref = null
 
 $isvisible = null
 
 $parameters = null
 
 $title = null
 

Detailed Description

Item Class.

Member Function Documentation

◆ add_child_item()

cc_item::add_child_item ( cc_i_item $item)

Add one Child Item.

Parameters
cc_i_item$item

Implements cc_i_item.

◆ add_new_child_item()

cc_item::add_new_child_item (   $title = '')

Add new child Item.

Parameters
string$title
Return values
cc_i_item

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