Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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: