</XMI.header>
<XMI.content>
<docsettings viewid="160" documentation="
-" uniqueid="197" />
+" uniqueid="200" />
<umlobjects>
<UML:Class stereotype="" package="lib" xmi.id="161" abstract="0" documentation="" name="noticia" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="169" type="void" abstract="0" documentation="" name="noticia" static="0" scope="200" >
<UML:Operation stereotype="" package="" xmi.id="186" type="string" abstract="0" documentation="" name="getFecha" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="191" type="void" abstract="0" documentation="" name="getSeccion" static="0" scope="200" />
<UML:Operation stereotype="" package="" xmi.id="197" type="void" abstract="0" documentation="" name="getidSeccion" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="199" type="void" abstract="0" documentation="" name="getLinks" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="200" type="void" abstract="0" documentation="" name="getArchivos" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="168" value="" type="int" abstract="0" documentation="" name="Noticia" static="0" scope="200" />
</UML:Class>
<UML:Class stereotype="" package="sistema/local_lib" xmi.id="162" abstract="0" documentation="" name="HTML_Noticia" static="0" scope="200" >
<UML:Parameter stereotype="" package="" xmi.id="1" value="" type="string" abstract="0" documentation="" name="link" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="195" type="void" abstract="0" documentation="" name="getCSS" static="0" scope="200" />
+ <UML:Operation stereotype="" package="" xmi.id="198" type="void" abstract="0" documentation="" name="toHTML_no_tabla" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="172" value="" type="noticia" abstract="0" documentation="" name="noticia" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="184" value="" type="bool" abstract="0" documentation="" name="completa" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="185" value="" type="int" abstract="0" documentation="" name="nuevo" static="0" scope="200" />
<UML:Association nameb="" stereotype="" visibilitya="200" visibilityb="200" assoctype="500" rolea="187" roleb="164" multia="" doca="" multib="" docb="" package="" xmi.id="-1" abstract="0" documentation="" name="" static="0" scope="200" changeabilitya="900" changeabilityb="900" namea="" />
</umlobjects>
<diagrams>
- <diagram snapgrid="0" showattsig="1" fillcolor="#ffffc0" zoom="100" showgrid="0" showopsig="1" usefillcolor="1" snapx="10" canvaswidth="742" snapy="10" showatts="1" xmi.id="160" documentation="" type="402" showops="1" showpackage="0" name="class diagram" localid="30000" showstereotype="0" showscope="1" snapcsgrid="0" font="Helvetica,4,-1,5,50,0,0,0,0,0" linecolor="#ff0000" canvasheight="653" >
+ <diagram snapgrid="0" showattsig="1" fillcolor="#ffffc0" zoom="100" showgrid="0" showopsig="1" usefillcolor="1" snapx="10" canvaswidth="730" snapy="10" showatts="1" xmi.id="160" documentation="" type="402" showops="1" showpackage="0" name="class diagram" localid="30000" showstereotype="0" showscope="1" snapcsgrid="0" font="Helvetica,4,-1,5,50,0,0,0,0,0" linecolor="#ff0000" canvasheight="659" >
<widgets>
- <UML:ClassWidget usesdiagramfillcolour="0" width="136" showattsigs="601" usesdiagramusefillcolour="0" x="22" linecolour="#ff0000" y="337" showopsigs="601" instancename="" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="140" usefillcolor="1" showattributes="1" isinstance="0" xmi.id="161" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="Helvetica,8,-1,5,50,0,0,0,0,0" />
- <UML:ClassWidget usesdiagramfillcolour="0" width="190" showattsigs="601" usesdiagramusefillcolour="0" x="220" linecolour="#ff0000" y="163" showopsigs="601" instancename="" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="168" usefillcolor="1" showattributes="1" isinstance="0" xmi.id="162" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="Helvetica,8,-1,5,50,0,0,0,0,0" />
+ <UML:ClassWidget usesdiagramfillcolour="0" width="136" showattsigs="601" usesdiagramusefillcolour="0" x="39" linecolour="#ff0000" y="321" showopsigs="601" instancename="" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="168" usefillcolor="1" showattributes="1" isinstance="0" xmi.id="161" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="Helvetica,8,-1,5,50,0,0,0,0,0" />
+ <UML:ClassWidget usesdiagramfillcolour="0" width="190" showattsigs="601" usesdiagramusefillcolour="0" x="220" linecolour="#ff0000" y="163" showopsigs="601" instancename="" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="182" usefillcolor="1" showattributes="1" isinstance="0" xmi.id="162" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="Helvetica,8,-1,5,50,0,0,0,0,0" />
<UML:ClassWidget usesdiagramfillcolour="0" width="73" showattsigs="601" usesdiagramusefillcolour="0" x="477" linecolour="#ff0000" y="47" showopsigs="601" instancename="" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="28" usefillcolor="1" showattributes="1" isinstance="0" xmi.id="164" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="Helvetica,8,-1,5,50,0,0,0,0,0" />
<UML:ClassWidget usesdiagramfillcolour="0" width="233" showattsigs="601" usesdiagramusefillcolour="0" x="54" linecolour="#ff0000" y="38" showopsigs="601" instancename="" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="77" usefillcolor="1" showattributes="1" isinstance="0" xmi.id="170" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="Helvetica,8,-1,5,50,0,0,0,0,0" />
<UML:ClassWidget usesdiagramfillcolour="0" width="353" showattsigs="601" usesdiagramusefillcolour="0" x="265" linecolour="#ff0000" y="400" showopsigs="601" instancename="" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="70" usefillcolor="1" showattributes="1" isinstance="0" xmi.id="187" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="Helvetica,8,-1,5,50,0,0,0,0,0" />
</linepath>
</UML:AssocWidget>
<UML:AssocWidget totalcounta="2" indexa="1" visibilityB="200" totalcountb="2" indexb="1" widgetbid="162" roleBdoc="" widgetaid="161" roleAdoc="" documentation="" type="510" changeabilityA="900" changeabilityB="900" visibilityA="200" >
- <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="703" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,0,50,0,0,0,0,0" />
- <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="701" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,0,50,0,0,0,0,0" />
- <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="702" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,0,50,0,0,0,0,0" />
- <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="709" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="+" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,0,50,0,0,0,0,0" />
- <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="710" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="+" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,0,50,0,0,0,0,0" />
- <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="711" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,0,50,0,0,0,0,0" />
- <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="712" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,0,50,0,0,0,0,0" />
+ <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="3" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="703" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,0,50,0,0,0,0,0" />
+ <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="17" linecolour="none" y="-16" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="701" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,0,50,0,0,0,0,0" />
+ <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="7" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="702" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,0,50,0,0,0,0,0" />
+ <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="17" linecolour="none" y="-16" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="709" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="+" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,0,50,0,0,0,0,0" />
+ <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="7" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="710" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="+" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,0,50,0,0,0,0,0" />
+ <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="17" linecolour="none" y="-16" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="711" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,0,50,0,0,0,0,0" />
+ <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="7" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="712" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="-1" text="" font="helvetica,12,-1,0,50,0,0,0,0,0" />
<linepath>
- <startpoint startx="90" starty="337" />
- <endpoint endx="220" endy="247" />
+ <startpoint startx="107" starty="321" />
+ <endpoint endx="220" endy="254" />
</linepath>
</UML:AssocWidget>
<UML:AssocWidget totalcounta="2" indexa="1" visibilityB="200" totalcountb="2" indexb="1" widgetbid="164" roleBdoc="" widgetaid="187" roleAdoc="" documentation="" type="500" changeabilityA="900" changeabilityB="900" visibilityA="200" >
<listitem open="0" type="815" id="193" label="setVerMas" />
<listitem open="0" type="815" id="194" label="setVolver" />
<listitem open="0" type="815" id="166" label="toHTML" />
+ <listitem open="0" type="815" id="198" label="toHTML_no_tabla" />
</listitem>
<listitem open="1" type="813" id="164" label="HTML_Table" />
<listitem open="1" type="813" id="187" label="HTML_Titulares" >
</listitem>
<listitem open="1" type="813" id="161" label="noticia" >
<listitem open="0" type="814" id="168" label="Noticia" />
+ <listitem open="0" type="815" id="200" label="getArchivos" />
<listitem open="0" type="815" id="186" label="getFecha" />
+ <listitem open="0" type="815" id="199" label="getLinks" />
<listitem open="0" type="815" id="191" label="getSeccion" />
<listitem open="0" type="815" id="182" label="getSintesis" />
<listitem open="0" type="815" id="181" label="getTexto" />
$this->addRow(array("<a href='$this->volver' class='noticias_ver_mas'>".$tmp->toHTML().
'volver</a>'),
array('class' => 'noticias_ver_mas'));
+ foreach($this->noticia->getLinks() as $l)
+ $this->addRow(array($l));
+ foreach($this->noticia->getArchivos() as $a)
+ $this->addRow(array($a['caption']));
return parent::toHTML();
}
else
}
}
// -X2C
- function toHTML_no_tabla()
- {
- for ($i = 0 ; $i < $this->_rows ; $i++) {
- $strHtml .= $tabs ."\t<TR>\n";
- for ($j = 0 ; $j < $this->_cols ; $j++) {
- if ($this->_structure[$i][$j] == "SPANNED") {
- $strHtml .= $tabs ."\t\t<!-- span -->\n";
- continue;
- }
- $type = ($this->_structure[$i][$j]["type"] == "TH" ? "TH" : "TD");
- $attr = $this->_structure[$i][$j]["attr"];
- $contents = $this->_structure[$i][$j]["contents"];
- $strHtml .= $tabs . "\t\t<$type" . $this->_getAttrString($attr) . ">"; if (is_object($contents)) {
- if (is_subclass_of($contents, "html_common")) {
- $contents->setTabOffset($this->_tabOffset + 3);
- $contents->_nestLevel = $this->_nestLevel + 1;
- }
- if (method_exists($contents, "toHtml")) {
- $contents = $contents->toHtml();
- } elseif (method_exists($contents, "toString")) {
- $contents = $contents->toString();
- }
- }
- if (is_array($contents)) $contents = implode(", ",$contents);
- if (isset($this->_autoFill) && $contents == "") $contents = $this->_autoFill;
- $strHtml .= $contents;
- $strHtml .= "</$type>\n";
- }
- $strHtml .= $tabs ."\t</TR>\n";
- }
- return $strHtml;
-}
-
// +X2C Operation 167
/**
}
// -X2C
+ // +X2C Operation 198
+ /**
+ * @return void
+ * @access public
+ */
+ function toHTML_no_tabla() // ~X2C
+ {
+ for ($i = 0 ; $i < $this->_rows ; $i++) {
+ $strHtml .= $tabs ."\t<TR>\n";
+ for ($j = 0 ; $j < $this->_cols ; $j++) {
+ if ($this->_structure[$i][$j] == "SPANNED") {
+ $strHtml .= $tabs ."\t\t<!-- span -->\n";
+ continue;
+ }
+ $type = ($this->_structure[$i][$j]["type"] == "TH" ? "TH" : "TD");
+ $attr = $this->_structure[$i][$j]["attr"];
+ $contents = $this->_structure[$i][$j]["contents"];
+ $strHtml .= $tabs . "\t\t<$type" . $this->_getAttrString($attr) . ">"; if (is_object($contents)) {
+ if (is_subclass_of($contents, "html_common")) {
+ $contents->setTabOffset($this->_tabOffset + 3);
+ $contents->_nestLevel = $this->_nestLevel + 1;
+ }
+ if (method_exists($contents, "toHtml")) {
+ $contents = $contents->toHtml();
+ } elseif (method_exists($contents, "toString")) {
+ $contents = $contents->toString();
+ }
+ }
+ if (is_array($contents)) $contents = implode(", ",$contents);
+ if (isset($this->_autoFill) && $contents == "") $contents = $this->_autoFill;
+ $strHtml .= $contents;
+ $strHtml .= "</$type>\n";
+ }
+ $strHtml .= $tabs ."\t</TR>\n";
+ }
+ return $strHtml;
+ }
+ // -X2C
+
} // -X2C Class :HTML_Noticia
?>