CheckStatus()
__construct()
compare_weight()
export()
load()
_check_node()
_verifURI()
_verifURL()
_verif_node()
_verif_taxo()
$_asset_nodereference
$_classes
$_field_contenttype_asset
$_field_contenttype_distribution
$_flexi_asset
$_taxo_asset
$_taxo_distribution
$_taxo_license
$_taxo_publisher
$_taxo_repository
$data
$data_copy
$repository_nid
$repository_uri
$right_item
$treatment_type
$user_id
This class is aimed to export Data from the library into a well structured implementation of ADMS into Drupal (see Joinup) class DrupalAdapter
CheckStatus($Input)
__construct()
compare_weight(\$object $a, $b) : \-1,0,1
access | public |
---|
\$object
compare by the usort function
\-1,0,1
instead of the compare valueexport(\adms:AdmsObject[] $data, $output, $type) : boolean
access | public |
---|
\adms:AdmsObject[]
data the data (AdmsObject table) which should be exported
\Exception |
---|
boolean
load(\$object $object) : \adms:AdmsObject[]
access | public |
---|
\$object
the path to the file which should be loaded
\adms:AdmsObject[]
a table of AdmsObject_check_node(\$object $uri, $contenttype) : \the
access | private |
---|
\$object
the path to the file which should be loaded
\the
nid of the new node or false if can't create it_verifURI(\$object $uri) : true
access | private |
---|
\$object
the path to the file which should be loaded
true
or false_verifURL(\$object $url) : true
access | private |
---|
\$object
the path to the file which should be loaded
true
or false_verif_node($item)
access | private |
---|
_verif_taxo(\$object $term_array, $var_taxo, $property, $contenttype) : \-1,0,1
access | public |
---|
\$object
compare by the usort function
\-1,0,1
instead of the compare value$_asset_nodereference
$_classes
$_field_contenttype_asset
$_field_contenttype_distribution
$_flexi_asset
$_taxo_asset
$_taxo_distribution
$_taxo_license
$_taxo_publisher
$_taxo_repository
$data
$data_copy
$repository_nid
$repository_uri
$right_item
$treatment_type
$user_id