Lines Matching refs:id
309 $media[$item['id']] = array(
310 'title' => noNS($item['id']),
312 'ns' => getNS($item['id']),
351 'id' => $ns,
366 if ( (auth_quickaclcheck($item['id']) > AUTH_READ) ) {
375 $time = (int) p_get_metadata($item['id'], 'date created', false);
379 $lang = ($transplugin)?$transplugin->getLangPart($item['id']):'';
389 $title = ucwords( substr(strrchr(strtr($item['id'],'_',' '), ':'), 1 ) );
392 $pages[$item['id']] = array (
450 if($id == $pid) continue; // skip self references
452 if($exists && isset($pages[$id])){
453 $pages[$pid]['links'][] = $id;
509 foreach($pages as $id => $page) {
510 …$output .= " \"page-$id\" [shape=note, label=\"{$page['title']}\\n{$id}\", color=lightblue, fon…
512 foreach($media as $id => $item) {
513 …$output .= " \"media-$id\" [shape=box, label=\"$id\", color=sandybrown, fontname=Helvetica];\n";
516 foreach($pages as $id => $page){
518 $output .= " \"page-$id\" -> \"page-$link\" [color=navy];\n";
521 $output .= " \"page-$id\" -> \"media-$link\" [color=firebrick];\n";
558 foreach($pages as $id => $item){
561 … $output .= " <node id=\"page-$id\" label=\"$id\" start=\"{$item['time']}\">\n";
574 foreach($media as $id => $item){
577 … $output .= " <node id=\"media-$id\" label=\"$id\" start=\"{$item['time']}\">\n";
595 foreach($pages as $id => $page){
598 … $output .= " <edge id=\"$cnt\" source=\"page-$id\" target=\"page-$link\" />\n";
602 … $output .= " <edge id=\"$cnt\" source=\"page-$id\" target=\"media-$link\" />\n";