Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
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

◆ attach_resource()

cc_item::attach_resource (   $resource)

Implements cc_i_item.

◆ attr_value()

cc_item::attr_value ( $nod,
  $name,
  $ns = null 
)

Implements cc_i_item.

◆ has_child_items()

cc_item::has_child_items ( )

Implements cc_i_item.

◆ process_item()

cc_item::process_item ( $node,
$doc 
)

Implements cc_i_item.


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