Resource Class.
More...
|
| __construct ($manifest, $file, $folder='', $throwonerror=true) |
|
| add_resource ($fname, $location='') |
| Add resource. More...
|
|
| adjust_path ($mroot, $fname) |
|
| generate_node () |
|
| get_attr_value (&$nod, $name, $ns=null) |
| Get a attribute value. More...
|
|
| get_manifestroot () |
|
| import_resource (DOMElement &$node, cc_i_manifest &$doc) |
| Import a resource. More...
|
|
| init_clean () |
|
| init_empty_new () |
|
| process_resource ($manifestroot, &$fname, $folder) |
| Process a resource. More...
|
|
|
| $base = null |
|
| $dependency = array() |
|
| $filename = null |
|
| $files = array() |
|
| $folder = null |
|
| $href = null |
|
| $identifier = null |
|
| $identifierref = null |
|
| $instructoronly = false |
|
| $isempty = null |
|
| $manifestroot = null |
|
| $metadata = array() |
|
| $persiststate = null |
|
| $type = null |
|
◆ add_resource()
cc_resource::add_resource |
( |
|
$fname, |
|
|
|
$location = '' |
|
) |
| |
Add resource.
- Parameters
-
string | $fname | |
string | $location | |
Implements cc_i_resource.
◆ get_attr_value()
cc_resource::get_attr_value |
( |
& |
$nod, |
|
|
|
$name, |
|
|
|
$ns = null |
|
) |
| |
Get a attribute value.
- Parameters
-
DOMElement | $nod | |
string | $name | |
string | $ns | |
- Return values
-
Implements cc_i_resource.
◆ import_resource()
cc_resource::import_resource |
( |
DOMElement & |
$node, |
|
|
cc_i_manifest & |
$doc |
|
) |
| |
◆ process_resource()
cc_resource::process_resource |
( |
|
$manifestroot, |
|
|
& |
$fname, |
|
|
|
$folder |
|
) |
| |
Process a resource.
- Parameters
-
string | $manifestroot | |
string | $fname | |
string | $folder | |
Implements cc_i_resource.
The documentation for this class was generated from the following files: