Quick search:


What is a skin

A file that is included by a page or a part object.

A skin usually serves as a template for a part of a page. It holds HTML and small php sections that call print and get methods on $this. $this is the object that included the skin. For information on the role of skins in the user interfacing framework see the principle of page compostion.

A skin may be included directly by a page because the corrensponding part is missing. Or by a part with the same name as a result of the default ::printBody implementation inherited from pnt.web.parts.PntPagePart.

Here is an example of a skin:

<!-- skinBody -->
<table width=99% cellspacing=0 cellpadding=0><tr valign=top>
<td height=100% width=135px class=pntGroupContent>
<table height=100% width=100%>
<tr valign=top height=100>
<td class=pntMenuPart>
<font class=pntMenuHead>Menu</font><BR><Br><BR>
<?php $this->printPart('MenuPart') ?>
</td>
</tr>
<tr valign=top>
<td class=<?php print $this->getInfoStyle() ?>>
<font class=pntInfoHead>Information</font><BR><BR><BR>
<span id='InformationPart'>
<?php $this->printPart('InformationPart') ?>
</span>
</td>
</tr>
</table> <BR>
</td>
<td>
<table width=100% cellspacing=0 cellpadding=0>
<tr>
<td valign=top>
<?php $this->printPart('MainPart') ?>
</td>
</tr>
<?php $this->printPart('ButtonsPanel') ?>
</table>
</td>
</tr></table>
<!-- /skinBody -->