]> git.llucax.com Git - software/bife/bife-all.git/blob - modules/album/album.xmi
WARNING: This is a broken revision!!!
[software/bife/bife-all.git] / modules / album / album.xmi
1 <?xml version="1.0" encoding="UTF-8"?>
2 <XMI xmlns:UML="org.omg/standards/UML" verified="false" timestamp="" xmi.version="1.2" >
3  <XMI.header>
4   <XMI.documentation>
5    <XMI.exporter>umbrello uml modeller http://uml.sf.net</XMI.exporter>
6    <XMI.exporterVersion>1.1</XMI.exporterVersion>
7   </XMI.documentation>
8   <XMI.model xmi.name="album" href="/home/luca/website/www/test/bife/modules/album/album.xmi" />
9   <XMI.metamodel xmi.name="UML" href="UML.xml" xmi.version="1.3" />
10  </XMI.header>
11  <XMI.content>
12   <docsettings viewid="114" documentation="Parse XML data getting widgets." uniqueid="155" />
13   <umlobjects>
14    <UML:Class stereotype="" package="BIFE" xmi.id="3" abstract="1" documentation="Base widget class.
15 x2c:extern
16 x2c:include: BIFE.php" name="Widget" static="0" scope="200" />
17    <UML:Class stereotype="" package="BIFE/Album" xmi.id="20" abstract="0" documentation="Photo album widget. [TODO: Make a better explanation]" name="Thumbs" static="0" scope="200" >
18     <UML:Operation stereotype="" package="" xmi.id="22" type="void" abstract="0" documentation="Constructor." name="BIFE_Album_Thumbs" static="0" scope="200" >
19      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="array" abstract="0" documentation="Attributes." name="attrs" static="0" scope="200" />
20     </UML:Operation>
21     <UML:Operation stereotype="" package="" xmi.id="57" type="void" abstract="0" documentation="Constructor." name="__construct" static="0" scope="200" >
22      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="array" abstract="0" documentation="Attributes." name="attrs" static="0" scope="200" />
23     </UML:Operation>
24     <UML:Operation stereotype="" package="" xmi.id="23" type="string" abstract="0" documentation="Renders the widget." name="render" static="0" scope="200" >
25      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="&amp;HTML_Template_HIT" abstract="0" documentation="Template to use to render the widget." name="template" static="0" scope="200" />
26     </UML:Operation>
27     <UML:Operation stereotype="" package="" xmi.id="95" type="array" abstract="0" documentation="Gets a list of photos with their descriptions and thumbnails.
28
29 Returns an array of associative arrays with this keys:
30 &lt;ul>
31 &lt;li>&lt;b>file:&lt;/b> Photo filename.&lt;/li>
32 &lt;li>&lt;b>desc:&lt;/b> Photo Description.&lt;/li>
33 &lt;li>&lt;b>thumb:&lt;/b> Photo thumbnail filename.&lt;/li>
34 &lt;/ul>
35 " name="getList" static="0" scope="202" />
36     <UML:Operation stereotype="" package="" xmi.id="97" type="string" abstract="0" documentation="Creates an image thumbnail, returning his filename." name="makeThumb" static="0" scope="202" >
37      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="string" abstract="0" documentation="Filename of the image to create the thumb." name="filename" static="0" scope="200" />
38      <UML:Parameter stereotype="" package="" xmi.id="2" value="100" type="int" abstract="0" documentation="Maximum thumbnail size." name="size" static="0" scope="200" />
39     </UML:Operation>
40     <UML:Operation stereotype="" package="" xmi.id="98" type="string" abstract="0" documentation="Returns the filename of an image thumb." name="getThumbFilename" static="0" scope="202" >
41      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="string" abstract="0" documentation="Filename of the image to get the thumb name." name="filename" static="0" scope="200" />
42     </UML:Operation>
43     <UML:Operation stereotype="" package="" xmi.id="102" type="string" abstract="0" documentation="Returns the description of the album." name="getDescription" static="0" scope="202" />
44     <UML:Operation stereotype="" package="" xmi.id="100" type="array" abstract="0" documentation="Splits a filename returning an array with the path, name and extension." name="splitFilename" static="1" scope="200" >
45      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="string" abstract="0" documentation="Filename to split." name="filename" static="0" scope="200" />
46     </UML:Operation>
47    </UML:Class>
48    <UML:Class stereotype="" package="BIFE/Album" xmi.id="103" abstract="0" documentation="Photo widget." name="Photo" static="0" scope="200" >
49     <UML:Operation stereotype="" package="" xmi.id="106" type="void" abstract="0" documentation="Constructor." name="BIFE_Album_Photo" static="0" scope="200" >
50      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="array" abstract="0" documentation="Attributes." name="attrs" static="0" scope="200" />
51     </UML:Operation>
52     <UML:Operation stereotype="" package="" xmi.id="107" type="void" abstract="0" documentation="Constructor." name="__construct" static="0" scope="200" >
53      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="array" abstract="0" documentation="Attributes." name="attrs" static="0" scope="200" />
54     </UML:Operation>
55     <UML:Operation stereotype="" package="" xmi.id="108" type="string" abstract="0" documentation="Renders the widget using a template returning a string with the results." name="render" static="0" scope="200" >
56      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="&amp;HTML_Template_HIT" abstract="0" documentation="Template to use to render the widget." name="template" static="0" scope="200" />
57     </UML:Operation>
58    </UML:Class>
59    <UML:Class stereotype="" package="HTML/Template" xmi.id="130" abstract="0" documentation="Hooks vs. IT (HIT) is a simple template implementation, based on hooks and IT template systems.
60 x2c:extern" name="HIT" static="0" scope="200" />
61    <UML:Class stereotype="" package="BIFE/Album" xmi.id="151" abstract="0" documentation="Album pager to an easier navigation when viewing photos." name="Pager" static="0" scope="200" >
62     <UML:Operation stereotype="" package="" xmi.id="153" type="void" abstract="0" documentation="Constructor." name="BIFE_Album_Pager" static="0" scope="200" >
63      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="array" abstract="0" documentation="Attributes." name="attrs" static="0" scope="200" />
64     </UML:Operation>
65     <UML:Operation stereotype="" package="" xmi.id="154" type="void" abstract="0" documentation="Constructor." name="__construct" static="0" scope="200" >
66      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="array" abstract="0" documentation="Attributes." name="attrs" static="0" scope="200" />
67     </UML:Operation>
68     <UML:Operation stereotype="" package="" xmi.id="155" type="string" abstract="0" documentation="Renders the widget using a template returning a string with the results." name="render" static="0" scope="200" >
69      <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="&amp;HTML_Template_HIT" abstract="0" documentation="Template to use to render the widget." name="template" static="0" scope="200" />
70     </UML:Operation>
71    </UML:Class>
72   </umlobjects>
73   <diagrams>
74    <diagram snapgrid="0" showattsig="1" fillcolor="#ffffc0" showgrid="1" showopsig="0" usefillcolor="1" snapx="10" snapy="10" showatts="1" xmi.id="114" documentation="" type="402" showops="1" showpackage="1" name="Album Classes" localid="30000" showstereotype="0" showscope="1" font="Helvetica,9,-1,5,48,0,0,0,0,0" linecolor="#ff0000" >
75     <widgets>
76      <UML:ConceptWidget usesdiagramfillcolour="0" width="90" showattsigs="600" usesdiagramusefillcolour="0" x="222" linecolour="#ff0000" y="23" showopsigs="600" usesdiagramlinecolour="0" fillcolour="#dcdcdc" height="25" usefillcolor="1" showattributes="0" xmi.id="3" showoperations="0" showpackage="1" showscope="1" showstereotype="0" font="Helvetica,9,-1,5,48,0,0,0,0,0" />
77      <UML:ConceptWidget usesdiagramfillcolour="0" width="161" showattsigs="601" usesdiagramusefillcolour="0" x="22" linecolour="#ff0000" y="175" showopsigs="600" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="142" usefillcolor="1" showattributes="1" xmi.id="20" showoperations="1" showpackage="1" showscope="1" showstereotype="0" font="Helvetica,9,-1,5,48,0,0,0,0,0" />
78      <UML:ConceptWidget usesdiagramfillcolour="0" width="149" showattsigs="601" usesdiagramusefillcolour="0" x="193" linecolour="#ff0000" y="175" showopsigs="600" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="67" usefillcolor="1" showattributes="1" xmi.id="103" showoperations="1" showpackage="1" showscope="1" showstereotype="0" font="Helvetica,9,-1,5,48,0,0,0,0,0" />
79      <UML:ConceptWidget usesdiagramfillcolour="0" width="148" showattsigs="601" usesdiagramusefillcolour="0" x="352" linecolour="#ff0000" y="175" showopsigs="600" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="67" usefillcolor="1" showattributes="1" xmi.id="151" showoperations="1" showpackage="1" showscope="1" showstereotype="0" font="Helvetica,9,-1,5,48,0,0,0,0,0" />
80     </widgets>
81     <messages/>
82     <associations>
83      <UML:AssocWidget totalcounta="2" indexa="1" totalcountb="4" indexb="1" widgetbid="3" widgetaid="20" documentation="" type="500" >
84       <linepath>
85        <startpoint startx="102" starty="175" />
86        <endpoint endx="244" endy="48" />
87       </linepath>
88      </UML:AssocWidget>
89      <UML:AssocWidget totalcounta="2" indexa="1" totalcountb="4" indexb="2" widgetbid="3" widgetaid="103" documentation="" type="500" >
90       <linepath>
91        <startpoint startx="267" starty="175" />
92        <endpoint endx="267" endy="48" />
93       </linepath>
94      </UML:AssocWidget>
95      <UML:AssocWidget totalcounta="2" indexa="1" totalcountb="4" indexb="3" widgetbid="3" widgetaid="151" documentation="" type="500" >
96       <linepath>
97        <startpoint startx="426" starty="175" />
98        <endpoint endx="289" endy="48" />
99       </linepath>
100      </UML:AssocWidget>
101     </associations>
102    </diagram>
103   </diagrams>
104   <listview>
105    <listitem open="1" type="800" id="-1" label="Views" >
106     <listitem open="1" type="801" id="-1" label="Logical View" >
107      <listitem open="1" type="803" id="-1" label="Album" >
108       <listitem open="1" type="807" id="114" label="Album Classes" />
109       <listitem open="0" type="813" id="151" label="Pager" >
110        <listitem open="0" type="815" id="153" label="BIFE_Album_Pager" />
111        <listitem open="0" type="815" id="154" label="__construct" />
112        <listitem open="0" type="815" id="155" label="render" />
113       </listitem>
114       <listitem open="0" type="813" id="103" label="Photo" >
115        <listitem open="0" type="815" id="106" label="BIFE_Album_Photo" />
116        <listitem open="0" type="815" id="107" label="__construct" />
117        <listitem open="0" type="815" id="108" label="render" />
118       </listitem>
119       <listitem open="0" type="813" id="20" label="Thumbs" >
120        <listitem open="0" type="815" id="22" label="BIFE_Album_Thumbs" />
121        <listitem open="0" type="815" id="57" label="__construct" />
122        <listitem open="0" type="815" id="102" label="getDescription" />
123        <listitem open="0" type="815" id="95" label="getList" />
124        <listitem open="0" type="815" id="98" label="getThumbFilename" />
125        <listitem open="0" type="815" id="97" label="makeThumb" />
126        <listitem open="0" type="815" id="23" label="render" />
127        <listitem open="0" type="815" id="100" label="splitFilename" />
128       </listitem>
129      </listitem>
130      <listitem open="1" type="803" id="-1" label="BIFE" >
131       <listitem open="0" type="813" id="3" label="Widget" />
132      </listitem>
133      <listitem open="1" type="803" id="-1" label="HIT" >
134       <listitem open="0" type="813" id="130" label="HIT" />
135      </listitem>
136     </listitem>
137     <listitem open="1" type="802" id="-1" label="Use Case View" />
138    </listitem>
139   </listview>
140  </XMI.content>
141 </XMI>