'skos:Concept',
'object_uri' => $object_uri,
'url_base' => './autorites.php?categ=concepts&sub=concept&action=',
);
break;
case 'collection' :
$t = array( 'object' => 'skos:Collection',
'object_uri' => $object_uri,
'url_base' => './autorites.php?categ=concepts&sub=collection&action=',
);
break;
case 'orderedcollection' :
$t = array( 'object' => 'skos:OrderedCollection',
'object_uri' => $object_uri,
'url_base' => './autorites.php?categ=concepts&sub=orderedcollection&action=',
);
break;
case 'conceptscheme' :
$t = array( 'object' => 'skos:ConceptScheme',
'object_uri' => $object_uri,
'url_base' => './autorites.php?categ=concepts&sub=conceptscheme&action=',
);
break;
}
$sh->showform($t);
$tpl.= $sh->result;
break;
case 'update' :
switch ($sub) {
case 'concept' :
break;
case 'collection' :
break;
case 'orderedcollection' :
break;
case 'conceptscheme' :
break;
}
$sh->recform($t);
break;
case 'delete' :
switch ($sub) {
case 'concept' :
break;
case 'collection' :
break;
case 'orderedcollection' :
break;
case 'conceptscheme' :
break;
}
$sh->delform($t);
break;
default :
switch ($sub) {
case 'concept' :
$t = array( 'object' => 'skos:Concept',
'page' => $page,
'limit' => $limit,
'url_base' => './autorites.php?categ=concepts&sub=concept&action=',
);
break;
case 'collection' :
$t = array( 'object' => 'skos:Collection',
'page' => $page,
'limit' => $limit,
'url_base' => './autorites.php?categ=concepts&sub=collection&action=',
);
break;
case 'orderedcollection' :
$t = array( 'object' => 'skos:OrderedCollection',
'page' => $page,
'limit' => $limit,
'url_base' => './autorites.php?categ=concepts&sub=orderedcollection&action=',
);
break;
case 'conceptscheme' :
default :
$t = array( 'object' => 'skos:ConceptScheme',
'page' => $page,
'limit' => $limit,
'url_base' => './autorites.php?categ=concepts&sub=conceptscheme&action=',
);
break;
}
$sh->showlist($t);
$tpl.= $sh->result;
break;
}
print $tpl;
//print "
----------------------------------------------------------
";
// print "--> Concept
";
// $t = array( 'object'=>'skos:Concept',
// 'limit'=>5,
// );
// $sh->genlist($t);
// print "
----------------------------------------------------------
";
// print "--> Collection
";
// $t = array( 'object'=>'skos:Collection',
// 'limit'=>5,
// );
// $sh->genlist($t);
// print "
----------------------------------------------------------
";
// print "--> OrderedCollection
";
// $t = array( 'object'=>'skos:OrderedCollection',
// 'limit'=>5,
// );
// $sh->genlist($t);
// print "
----------------------------------------------------------
";
//$sh->genlist(array('object'=>'skos:Concept'));
// $oh->get_list('skos:ConceptScheme');
// print '
';
// print "--> resources :
";
// highlight_string(print_r($op->t_resources,true));
// print "--> properties :
";
// highlight_string(print_r($op->t_properties,true));
// print "--> objects :
";
// highlight_string(print_r($op->t_objects,true));
// print "--> nodeids :
";
// highlight_string(print_r($op->t_nodeids,true));
// foreach($r as $k=>$v) {
// print 'ConceptScheme : '.$v.'
';
// print 'Liste Concept
';
// $r1 = $ss->list_Concept($v,10);
// if (count($r1)) {
// highlight_string(print_r($r1,true));
// }
// print '
';
// print 'Liste Collection
';
// $r2 = $ss->list_Collection($v);
// if(count($r2)) {
// highlight_string(print_r($r2,true));
// }
// print '
';
// print 'Liste OrderedCollection
';
// $r3 = $ss->list_OrderedCollection($v);
// if (count($r3)) {
// highlight_string(print_r($r3,true));
// }
// print '
';
// }