Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
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.
 
 add_new_child_item ($title='')
 Add new child Item.
 
 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
 
mixed $structure
 node structure.
 
 $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: