Location: PHPKode > scripts > Zphotos Express > documentation/en/class_zphotos___photo.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Zphotos Express: Zphotos_Photo Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.0 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<h1>Zphotos_Photo Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="Zphotos_Photo" --><!-- doxytag: inherits="Zphotos_Data" --><div class="dynheader">
Inheritance diagram for Zphotos_Photo:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_zphotos___photo.png" usemap="#Zphotos_Photo_map" alt=""/>
  <map id="Zphotos_Photo_map" name="Zphotos_Photo_map">
<area href="class_zphotos___data.html" alt="Zphotos_Data" shape="rect" coords="0,0,97,24"/>
</map>
</div>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_zphotos___photo.html#accd14bda49a1044b4d8dd93f020f11ee">getUrl</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_zphotos___photo.html#a2d05f3cfb0c22f0d5b55056f7dcaf985">getZoomUrl</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_zphotos___photo.html#a50e2b1ff70a8819ac1c041d3b5e7913c">__construct</a> ($path, &amp;$album, &amp;$options)</td></tr>
<tr><td colspan="2"><div class="groupHeader">Accessors</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp04cb611d2bf0c8edd5b113799b30e174"></a> </p>
</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_zphotos___photo.html#ae7fba4c8be1972cf80dc1a95f390df23">getWidth</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_zphotos___photo.html#aa725283ffc599b3f6563cada4cbeb2c7">getHeight</a> ()</td></tr>
</table>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a50e2b1ff70a8819ac1c041d3b5e7913c"></a><!-- doxytag: member="Zphotos_Photo::__construct" ref="a50e2b1ff70a8819ac1c041d3b5e7913c" args="($path, &amp;$album, &amp;$options)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__construct </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&amp;$&nbsp;</td>
          <td class="paramname"> <em>album</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&amp;$&nbsp;</td>
          <td class="paramname"> <em>options</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constructeur.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>le</em>&nbsp;</td><td>chemin de la photo. (chaîne de caractères) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>l'album</em>&nbsp;</td><td>d'où provient la photo. (objet <a class="el" href="class_zphotos___album.html">Zphotos_Album</a>) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>les</em>&nbsp;</td><td>options de Zphotos Express. (objet <a class="el" href="class_zphotos___options.html">Zphotos_Options</a>) </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="class_zphotos___data.html#a50e2b1ff70a8819ac1c041d3b5e7913c">Zphotos_Data</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aa725283ffc599b3f6563cada4cbeb2c7"></a><!-- doxytag: member="Zphotos_Photo::getHeight" ref="aa725283ffc599b3f6563cada4cbeb2c7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getHeight </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>la hauteur de la photo en pixel. (nombre) </dd></dl>

</div>
</div>
<a class="anchor" id="accd14bda49a1044b4d8dd93f020f11ee"></a><!-- doxytag: member="Zphotos_Photo::getUrl" ref="accd14bda49a1044b4d8dd93f020f11ee" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getUrl </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="note"><dt><b>Note:</b></dt><dd>cette url peut être utilisée pour l'attribut src des balises . </dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>l'url de la photo. (chaîne de caractères) </dd></dl>

</div>
</div>
<a class="anchor" id="ae7fba4c8be1972cf80dc1a95f390df23"></a><!-- doxytag: member="Zphotos_Photo::getWidth" ref="ae7fba4c8be1972cf80dc1a95f390df23" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getWidth </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>la largeur de la photo en pixel. (nombre) </dd></dl>

</div>
</div>
<a class="anchor" id="a2d05f3cfb0c22f0d5b55056f7dcaf985"></a><!-- doxytag: member="Zphotos_Photo::getZoomUrl" ref="a2d05f3cfb0c22f0d5b55056f7dcaf985" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getZoomUrl </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="note"><dt><b>Note:</b></dt><dd>cette url peut être utilisée pour les liens sur les miniatures. </dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>l'url de la page de zoom de la photo. (chaîne de caractères) </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>ZphotosExpressV2/sources/Model/<a class="el" href="_zphotos___photo_8php.html">Zphotos_Photo.php</a></li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Thu Jun 24 2010 00:46:14 for Zphotos Express by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.0 </small></address>
</body>
</html>
Return current item: Zphotos Express