Initial Commit
|
After Width: | Height: | Size: 236 B |
BIN
database/php/pear/PHP/UML/Output/HtmlNew/$resources/class.png
Normal file
|
After Width: | Height: | Size: 210 B |
|
After Width: | Height: | Size: 287 B |
BIN
database/php/pear/PHP/UML/Output/HtmlNew/$resources/datatype.png
Normal file
|
After Width: | Height: | Size: 259 B |
|
After Width: | Height: | Size: 203 B |
BIN
database/php/pear/PHP/UML/Output/HtmlNew/$resources/help-big.png
Normal file
|
After Width: | Height: | Size: 230 B |
BIN
database/php/pear/PHP/UML/Output/HtmlNew/$resources/help.png
Normal file
|
After Width: | Height: | Size: 205 B |
|
After Width: | Height: | Size: 399 B |
|
After Width: | Height: | Size: 399 B |
BIN
database/php/pear/PHP/UML/Output/HtmlNew/$resources/inherit.gif
Normal file
|
After Width: | Height: | Size: 67 B |
|
After Width: | Height: | Size: 280 B |
|
After Width: | Height: | Size: 241 B |
BIN
database/php/pear/PHP/UML/Output/HtmlNew/$resources/left.png
Normal file
|
After Width: | Height: | Size: 179 B |
|
After Width: | Height: | Size: 337 B |
|
After Width: | Height: | Size: 336 B |
|
After Width: | Height: | Size: 338 B |
BIN
database/php/pear/PHP/UML/Output/HtmlNew/$resources/method.png
Normal file
|
After Width: | Height: | Size: 333 B |
BIN
database/php/pear/PHP/UML/Output/HtmlNew/$resources/minus.gif
Normal file
|
After Width: | Height: | Size: 82 B |
|
After Width: | Height: | Size: 222 B |
BIN
database/php/pear/PHP/UML/Output/HtmlNew/$resources/model.png
Normal file
|
After Width: | Height: | Size: 203 B |
BIN
database/php/pear/PHP/UML/Output/HtmlNew/$resources/modele.png
Normal file
|
After Width: | Height: | Size: 207 B |
|
After Width: | Height: | Size: 212 B |
BIN
database/php/pear/PHP/UML/Output/HtmlNew/$resources/package.png
Normal file
|
After Width: | Height: | Size: 191 B |
BIN
database/php/pear/PHP/UML/Output/HtmlNew/$resources/plus.gif
Normal file
|
After Width: | Height: | Size: 85 B |
BIN
database/php/pear/PHP/UML/Output/HtmlNew/$resources/point.png
Normal file
|
After Width: | Height: | Size: 166 B |
|
After Width: | Height: | Size: 208 B |
|
After Width: | Height: | Size: 212 B |
|
After Width: | Height: | Size: 211 B |
BIN
database/php/pear/PHP/UML/Output/HtmlNew/$resources/property.png
Normal file
|
After Width: | Height: | Size: 195 B |
BIN
database/php/pear/PHP/UML/Output/HtmlNew/$resources/right.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
database/php/pear/PHP/UML/Output/HtmlNew/$resources/square.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
385
database/php/pear/PHP/UML/Output/HtmlNew/$resources/style.css
Normal file
@@ -0,0 +1,385 @@
|
||||
html {
|
||||
font-size: 62.5%
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #fff;
|
||||
color: #000;
|
||||
margin: 3px 8px 3px 3px;
|
||||
padding: 0px;
|
||||
font: 100% Arial, Verdana, Helvetica, sans-serif;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Right panel
|
||||
*/
|
||||
|
||||
h1 {
|
||||
font-size:1.8em;
|
||||
background-repeat:no-repeat;
|
||||
background-position:top left;
|
||||
padding:0px 0px 5px 28px;
|
||||
margin:5px 0px 0px 0px;
|
||||
width:360px;
|
||||
|
||||
border-width:0px 0px 1px 0px;
|
||||
border-style:solid;
|
||||
border-color:#ccc;
|
||||
}
|
||||
h1.class {
|
||||
background-image: url(class-big.png);
|
||||
border-color:#1515ff;
|
||||
}
|
||||
h1.datatype {
|
||||
background-image: url(datatype-big.png);
|
||||
border-color:#1515ff;
|
||||
}
|
||||
h1.interface {
|
||||
background-image: url(interface-big.png);
|
||||
border-color:#1515ff;
|
||||
}
|
||||
h1.model {
|
||||
background-image: url(model-big.png);
|
||||
border-color:#005b00;
|
||||
}
|
||||
h1.package {
|
||||
background-image: url(package-big.png);
|
||||
border-color:#005b00;
|
||||
}
|
||||
h1.index {
|
||||
background-image: url(index-all-big.png);
|
||||
margin:5px 0px 20px 0px;
|
||||
}
|
||||
h1.help {
|
||||
background-image: url(help-big.png);
|
||||
margin:5px 0px 20px 0px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
border-width:0px 0px 1px 0px;
|
||||
border-style:solid;
|
||||
border-color:#ccc;
|
||||
width:200px;
|
||||
color:#000;
|
||||
margin:15px 0px 8px 0px;
|
||||
font-size:1.4em;
|
||||
}
|
||||
|
||||
ul, li {
|
||||
font-size:1em;
|
||||
}
|
||||
|
||||
p {
|
||||
margin:0px;
|
||||
padding:3px 0px 3px 0px;
|
||||
}
|
||||
|
||||
ul.summary {
|
||||
list-style-type:none;
|
||||
margin:0px;
|
||||
padding-left:20px;
|
||||
font-size:1.2em;
|
||||
line-height:1.5em;
|
||||
}
|
||||
ul.summary li {
|
||||
margin:0px;
|
||||
padding:0px 0px 1px 0px;
|
||||
}
|
||||
ul.summary li.Expanded ul {
|
||||
border:1px solid #ccc;
|
||||
background-color:#f5f5f5;
|
||||
padding:0px 3px 4px 22px;
|
||||
margin:5px 0px 6px 12px;
|
||||
}
|
||||
|
||||
ul.description {
|
||||
margin:0px 0px 5px 15px;
|
||||
padding:0px;
|
||||
list-style-image:url(point.png);
|
||||
}
|
||||
ul.description li {
|
||||
margin:0px;
|
||||
padding:0px;
|
||||
}
|
||||
ul.single {
|
||||
margin:5px 0px 5px 0px;
|
||||
padding:0px;
|
||||
list-style:none;
|
||||
}
|
||||
|
||||
|
||||
ul.indexAll {
|
||||
list-style: none;
|
||||
line-height:17px;
|
||||
font-size:1.1em;
|
||||
}
|
||||
|
||||
/**
|
||||
* Navigation bar
|
||||
*/
|
||||
|
||||
ul.navig {
|
||||
display: inline;
|
||||
list-style: none;
|
||||
margin: 0px;
|
||||
padding: 5px 1px 0px 0px;
|
||||
float:right;
|
||||
}
|
||||
|
||||
ul.navig li {
|
||||
display: inline;
|
||||
margin: 0px;
|
||||
padding: 0px 0px 0px 6px;
|
||||
font-size: 1em;
|
||||
text-transform: uppercase;
|
||||
color:#333;
|
||||
}
|
||||
|
||||
ul.navig a {
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
ul.navig a.right {
|
||||
background: url(right.png) no-repeat center left;
|
||||
padding-left:11px;
|
||||
color:#1515ff;
|
||||
}
|
||||
ul.navig a.left {
|
||||
background: url(left.png) no-repeat center left;
|
||||
padding-left:11px;
|
||||
color:#1515ff;
|
||||
}
|
||||
ul.navig a.top {
|
||||
background: url(top.png) no-repeat center left;
|
||||
padding-left:11px;
|
||||
color:#005b00;
|
||||
}
|
||||
ul.navig a.expandAllBtn {
|
||||
background: url(expand-all.png) no-repeat center left;
|
||||
padding:0px 8px 0px 16px;
|
||||
color:#333;
|
||||
}
|
||||
ul.navig a.helpBtn {
|
||||
background: url(help.png) no-repeat center left;
|
||||
padding:0px 8px 0px 18px;
|
||||
color:#333;
|
||||
}
|
||||
ul.navig a.indexAllBtn {
|
||||
background: url(index-all.png) no-repeat center left;
|
||||
padding:0px 8px 0px 19px;
|
||||
color:#333;
|
||||
}
|
||||
|
||||
#footer {
|
||||
padding:20px 0px 5px 0px;
|
||||
font-style:italic;
|
||||
position:relative;
|
||||
bottom:0px;
|
||||
text-align:right;
|
||||
color:#505050;
|
||||
}
|
||||
|
||||
/**
|
||||
* Inheritance diagram
|
||||
*/
|
||||
|
||||
dl.inheritTree {
|
||||
background-color:#f5f5f5;
|
||||
padding:3px 6px 3px 6px;
|
||||
margin:5px 0px 5px 0px;
|
||||
border:1px solid #ccc;
|
||||
}
|
||||
|
||||
dl.inheritTree dd {
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
dl.inheritTree .current {
|
||||
font-family:"Courier New", monospace;
|
||||
font-size:1.1em;
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
div.description {
|
||||
font-size:1.2em;
|
||||
padding:0px 3px 0px 6px;
|
||||
margin:20px 0px 10px 0px;
|
||||
border:1px solid #ccc;
|
||||
}
|
||||
|
||||
div.descriptionPkg {
|
||||
font-size:1.2em;
|
||||
padding:0px;
|
||||
margin:20px 0px 15px 0px;
|
||||
}
|
||||
|
||||
a {
|
||||
color:#383838;
|
||||
background-repeat:no-repeat;
|
||||
background-position:center left;
|
||||
text-decoration:none;
|
||||
}
|
||||
.model {
|
||||
color:#005b00;
|
||||
}
|
||||
.package {
|
||||
color:#005b00;
|
||||
}
|
||||
.class {
|
||||
color:#1515ff;
|
||||
}
|
||||
.datatype {
|
||||
color:#1515ff;
|
||||
}
|
||||
.interface {
|
||||
color:#1515ff;
|
||||
}
|
||||
.property {
|
||||
color:#bd7a0e;
|
||||
}
|
||||
.method {
|
||||
color:#80233d;
|
||||
}
|
||||
|
||||
/**
|
||||
* Left menu
|
||||
*/
|
||||
|
||||
#MainList {
|
||||
padding:0px 0px 0px 3px;
|
||||
}
|
||||
|
||||
#MainList a {
|
||||
padding:0px 0px 0px 20px;
|
||||
}
|
||||
|
||||
#MainList a.link, span.link {
|
||||
padding:0px;
|
||||
color:#1515ff;
|
||||
font-family:"Courier New", monospace;
|
||||
font-size:1em;
|
||||
}
|
||||
|
||||
#MainList a.link2 {
|
||||
padding:0px;
|
||||
color:#1515ff;
|
||||
/*text-decoration:underline;*/
|
||||
font-family:"Courier New", monospace;
|
||||
font-size:1em;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-weight:bold;
|
||||
color:#222;
|
||||
letter-spacing:1px;
|
||||
}
|
||||
|
||||
.smallTitle {
|
||||
font-weight:bold;
|
||||
color:#222;
|
||||
}
|
||||
|
||||
.defVal, .abstract, .note {
|
||||
font-style:italic;
|
||||
}
|
||||
|
||||
.note {
|
||||
font-style:italic;
|
||||
font-size:0.8em;
|
||||
}
|
||||
li.smaller {
|
||||
font-size:0.9em;
|
||||
}
|
||||
|
||||
a.model {
|
||||
background-image: url(model.png);
|
||||
font-weight:bold;
|
||||
}
|
||||
a.package {
|
||||
background-image: url(package.png);
|
||||
}
|
||||
a.class {
|
||||
background-image: url(class.png);
|
||||
}
|
||||
a.interface {
|
||||
background-image: url(interface.png);
|
||||
font-style:italic;
|
||||
}
|
||||
a.datatype {
|
||||
background-image: url(datatype.png);
|
||||
}
|
||||
a.property {
|
||||
background-image: url(property.png);
|
||||
}
|
||||
a.property-pub {
|
||||
background-image: url(property-pub.png);
|
||||
color:#bd7a0e;
|
||||
}
|
||||
a.property-pro {
|
||||
background-image: url(property-pro.png);
|
||||
color:#bd7a0e;
|
||||
}
|
||||
a.property-pri {
|
||||
background-image: url(property-pri.png);
|
||||
color:#bd7a0e;
|
||||
}
|
||||
a.method {
|
||||
background-image: url(method.png);
|
||||
}
|
||||
a.method-pub {
|
||||
background-image: url(method-pub.png);
|
||||
color:#80233d;
|
||||
}
|
||||
a.method-pro {
|
||||
background-image: url(method-pro.png);
|
||||
color:#70233d;
|
||||
}
|
||||
a.method-pri {
|
||||
background-image: url(method-pri.png);
|
||||
color:#70233d;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Treeview
|
||||
*/
|
||||
|
||||
.TreeView {
|
||||
display:block;
|
||||
line-height:18px;
|
||||
font-size:1.2em;
|
||||
cursor:pointer;
|
||||
font-style:normal;
|
||||
}
|
||||
|
||||
.TreeView li {
|
||||
margin:0px;
|
||||
padding:0 0 0 16px;
|
||||
list-style:none;
|
||||
}
|
||||
|
||||
.TreeView, .TreeView ul {
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
.TreeView li.Expanded {
|
||||
background: url(minus.gif) no-repeat left top;
|
||||
}
|
||||
|
||||
li.Expanded ul {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.TreeView li.Collapsed {
|
||||
background: url(plus.gif) no-repeat left top;
|
||||
}
|
||||
|
||||
li.Collapsed ul {
|
||||
display: none;
|
||||
}
|
||||
|
||||
BIN
database/php/pear/PHP/UML/Output/HtmlNew/$resources/top.png
Normal file
|
After Width: | Height: | Size: 178 B |
165
database/php/pear/PHP/UML/Output/HtmlNew/$resources/treeview.js
Normal file
@@ -0,0 +1,165 @@
|
||||
Array.prototype.indexOf = IndexOf;
|
||||
//Finds the index of an item in an array
|
||||
function IndexOf(item) {
|
||||
for (var i=0; i < this.length; i++) {
|
||||
if (this[i] == item) {
|
||||
return i;
|
||||
}
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
var toggler = {
|
||||
//CSS class names
|
||||
states: Array('Collapsed','Expanded'),
|
||||
//Caption
|
||||
statesLib: Array('Collapse', 'Expand'),
|
||||
//Current state
|
||||
curState: 1,
|
||||
//Name of the cookie that stores the current state between pages
|
||||
cookieName: 'apiTreeviewState',
|
||||
//Sets all the elements to a new state, and updates the current state variable
|
||||
toggleAll: function(treeId, btnId)
|
||||
{
|
||||
this.curState = 1-this.curState;
|
||||
this.toggleAllTree(treeId, this.curState)
|
||||
var btn = document.getElementById(btnId);
|
||||
btn.innerHTML = this.statesLib[1-this.curState]+' all';
|
||||
setCookie(this.cookieName, this.curState);
|
||||
},
|
||||
//Sets all the elements to a given state
|
||||
toggleAllTree: function(treeId, stateId)
|
||||
{
|
||||
var tree = document.getElementById(treeId);
|
||||
if(!tree) return;
|
||||
var treeElements = tree.getElementsByTagName('li');
|
||||
for (var i=0; i<treeElements.length; i++) {
|
||||
this.replaceInClass(treeElements[i], this.states[stateId], this.states[1-stateId]);
|
||||
}
|
||||
},
|
||||
//Sets the element to the firstClass given, in place of the second
|
||||
replaceInClass: function(element, firstClass, secondClass)
|
||||
{
|
||||
var classes = element.className.split(" ");
|
||||
var firstClassIndex = classes.indexOf(firstClass);
|
||||
var secondClassIndex = classes.indexOf(secondClass);
|
||||
|
||||
if (secondClassIndex>-1) {
|
||||
classes[secondClassIndex] = firstClass;
|
||||
}
|
||||
|
||||
element.className = classes.join(" ");
|
||||
},
|
||||
//Toggles between two classes
|
||||
toggleClass: function(element, firstClass, secondClass, event)
|
||||
{
|
||||
event.cancelBubble = true;
|
||||
|
||||
var classes = element.className.split(" ");
|
||||
var firstClassIndex = classes.indexOf(firstClass);
|
||||
var secondClassIndex = classes.indexOf(secondClass);
|
||||
|
||||
if (firstClassIndex == -1 && secondClassIndex == -1) {
|
||||
classes[classes.length] = firstClass;
|
||||
}
|
||||
else if (firstClassIndex != -1) {
|
||||
classes[firstClassIndex] = secondClass;
|
||||
}
|
||||
else {
|
||||
classes[secondClassIndex] = firstClass;
|
||||
}
|
||||
element.className = classes.join(" ");
|
||||
},
|
||||
|
||||
//Toggle event handler for each expandable/collapsable node
|
||||
toggleNodeStateHandler: function(event)
|
||||
{
|
||||
toggler.toggleClass(this, toggler.states[0], toggler.states[1], (event==null) ? window.event : event);
|
||||
},
|
||||
|
||||
//Prevents the onclick event from bubbling up
|
||||
preventBubbleHandler: function(event)
|
||||
{
|
||||
if (!event)
|
||||
event = window.event;
|
||||
event.cancelBubble = true;
|
||||
},
|
||||
|
||||
//Adds the relevant onclick handlers for the nodes in the tree view
|
||||
setupTreeView: function(treeId)
|
||||
{
|
||||
var tree = document.getElementById(treeId);
|
||||
if(!tree) return;
|
||||
var treeElements = tree.getElementsByTagName("li");
|
||||
|
||||
for (var i=0; i<treeElements.length; i++) {
|
||||
if (treeElements[i].getElementsByTagName("ul").length>0) {
|
||||
treeElements[i].onclick = toggler.toggleNodeStateHandler;
|
||||
}
|
||||
else {
|
||||
treeElements[i].onclick = toggler.preventBubbleHandler;
|
||||
}
|
||||
}
|
||||
|
||||
var h = window.location.hash;
|
||||
if(h!='') {
|
||||
var s = document.getElementById(h.substring(1));
|
||||
if(s) {
|
||||
this.replaceInClass(s, this.states[1], this.states[0]);
|
||||
}
|
||||
}
|
||||
},
|
||||
backToMemorizedState: function(treeId, btnId)
|
||||
{
|
||||
var x = getCookie(this.cookieName);
|
||||
if (x==0 || x==1) {
|
||||
this.curState = x;
|
||||
var btn = document.getElementById(btnId);
|
||||
btn.innerHTML = this.statesLib[1-this.curState]+' all';
|
||||
this.toggleAllTree(treeId, this.curState);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function setCookie(name, value, expires, path, domain, secure)
|
||||
{
|
||||
var today = new Date();
|
||||
today.setTime( today.getTime() );
|
||||
if (expires) {
|
||||
expires = expires*1000*60*60*24;
|
||||
}
|
||||
var expires_date = new Date(today.getTime() + (expires) );
|
||||
document.cookie = name + "=" +escape(value) +
|
||||
( ( expires ) ? ";expires=" + expires_date.toGMTString() : "" ) +
|
||||
( ( path ) ? ";path=" + path : "" ) +
|
||||
( ( domain ) ? ";domain=" + domain : "" ) +
|
||||
( ( secure ) ? ";secure" : "" );
|
||||
}
|
||||
|
||||
|
||||
function getCookie(check_name)
|
||||
{
|
||||
var a_all_cookies = document.cookie.split(';');
|
||||
var a_temp_cookie = '';
|
||||
var cookie_name = '';
|
||||
var cookie_value = '';
|
||||
var b_cookie_found = false;
|
||||
|
||||
for (i=0; i<a_all_cookies.length; i++) {
|
||||
a_temp_cookie = a_all_cookies[i].split( '=' );
|
||||
cookie_name = a_temp_cookie[0].replace(/^\s+|\s+$/g, '');
|
||||
if (cookie_name == check_name){
|
||||
b_cookie_found = true;
|
||||
if (a_temp_cookie.length>1) {
|
||||
cookie_value = unescape( a_temp_cookie[1].replace(/^\s+|\s+$/g, '') );
|
||||
}
|
||||
return cookie_value;
|
||||
break;
|
||||
}
|
||||
a_temp_cookie = null;
|
||||
cookie_name = '';
|
||||
}
|
||||
if (!b_cookie_found) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||