Changeset 12526
- Timestamp:
- 02/19/08 13:55:55 (11 months ago)
- Files:
-
- 1 modified
-
util/branches/dev/jsdoc/jsdoc.module (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
util/branches/dev/jsdoc/jsdoc.module
r12523 r12526 2881 2881 } 2882 2882 else { 2883 $children[$title]->inheritance[] = (object)array( 2884 'title' => $mixin->title, 2885 'summary' => jsdoc_get_teaser($mixin), 2886 'url' => $mixin->jsdoc_url 2887 ); 2883 $inherited = _jsdoc_get_object_themed($item, $title); 2884 $children[$title]->url = $inherited->url; 2885 $children[$title]->a = $inherited->a; 2886 $children[$title]->inheritance[] = _jsdoc_get_object_themed($mixin); 2888 2887 } 2889 2888 } … … 2912 2911 } 2913 2912 } 2914 print_r($children);2915 2913 uksort($children, "strnatcasecmp"); 2916 2914 … … 2975 2973 ), 2976 2974 'url' => $node->jsdoc_url, 2977 'a' => l($node->title, $node->jsdoc_url),2978 2975 'summary' => jsdoc_get_teaser($node), 2979 2976 'singleton' => jsdoc_is_initialized($node), … … 2981 2978 ); 2982 2979 2980 if ($object->url) { 2981 $object->a = l($node->title, $node->jsdoc_url); 2982 } 2983 else { 2984 $object->a = $object->title; 2985 } 2986 2983 2987 if ($type = jsdoc_object_node_load(jsdoc_get_type($node), jsdoc_get_project($node), jsdoc_get_version($node), jsdoc_get_all_provide_nids($node, array(3, 4)))) { 2984 2988 $object->type->title = $type->title; 2985 2989 $object->type->url = $type->jsdoc_url; 2986 $object->type->a = l($type->title, $type->jsdoc_url); 2990 if ($type->jsdoc_url) { 2991 $object->type->a = l($type->title, $type->jsdoc_url); 2992 } 2993 else { 2994 $object->type->a = $type->title; 2995 } 2987 2996 } 2988 2997 … … 4074 4083 $output .= '<div class="form-item">'; 4075 4084 if ($child->type) { 4076 if ($child->type->url) { 4077 $output .= '<em>' . l($child->type->title, $child->type->url) . '</em> '; 4078 } 4079 else { 4080 $output .= '<em>' . $child->type->title . '</em> '; 4081 } 4085 $output .= '<em>' . $child->type->a . '</em> '; 4082 4086 } 4083 4087 $output .= l($child->title, $child->url);