Location: PHPKode > scripts > Zphotos Express > documentation/en/class_zphotos___album.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_Album 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="headertitle">
<h1>Zphotos_Album Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="Zphotos_Album" --><!-- doxytag: inherits="Zphotos_Data" --><div class="dynheader">
Inheritance diagram for Zphotos_Album:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_zphotos___album.png" usemap="#Zphotos_Album_map" alt=""/>
  <map id="Zphotos_Album_map" name="Zphotos_Album_map">
<area href="class_zphotos___data.html" alt="Zphotos_Data" shape="rect" coords="0,0,100,24"/>
</map>
</div>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></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___album.html#a82378771bf47c6715c996e156682f2fa">getPhotos</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_zphotos___album.html#a19d65635254edecd668be35ec991f057">getFirstPhoto</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_zphotos___album.html#a1106864f4951b0dd6f0f51bf5b345e42">getRandomPhoto</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_zphotos___album.html#ad52b68a3418fbd96325ca116059ece3d">getPhotosNumber</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_zphotos___album.html#a96732906856f5d0e08852d04b3e8b9ce">getAlbums</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_zphotos___album.html#a4aff827e007d8a994da6543d40df29aa">getAlbumsNumber</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_zphotos___album.html#a5d216a7e554c1fa453de88d85caf8fb3">hasAlbums</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_zphotos___album.html#a0ffad5d6c22c3f66cea49f24f81a5b1a">isRootAlbum</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_zphotos___album.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___album.html#ae1ca0d2444e3cca6b147445348f686de">getBaseUrl</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_zphotos___album.html#aedcc52b3673b8df9425e52f13accb2a1">isEmpty</a> ()</td></tr>
<tr><td colspan="2"><div class="groupHeader">Sort methods</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpca9008613e3e7d5677da590490527ce4"></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___album.html#a12e774c3891faf14f44002a126e239b7">sortAlbums</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_zphotos___album.html#ab7fb9d7d6be7f8c123677480d595955d">sortPhotos</a> ()</td></tr>
<tr><td colspan="2"><div class="groupHeader">Pagging methods</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpcc854c5f2888ed46345be4cedf01dc2f"></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___album.html#a656b814a72d2f16d5eab18671ef133e2">setPhotosNumberByPage</a> ($maxSize)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_zphotos___album.html#a01e0173d33c3df8e230aa80ab17fd15b">getPhotosNumberByPage</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_zphotos___album.html#ae67ab57b7995eda1ef471a053e7d4ad3">hasSeveralPages</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_zphotos___album.html#ae539c6c35efecc96236714824456c164">getPagesNumber</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_zphotos___album.html#a5cbe0d19e29e1e5461e810ceeacc8f5a">hasNextPage</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_zphotos___album.html#a9ab00a8a959c4e94fcda5473923f0d4b">getNextPageUrl</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_zphotos___album.html#acb7ae38947e4e7f6f703ac7dcaea543e">hasPreviousPage</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_zphotos___album.html#a22de5565bb75a66d7b4c5318957e9c16">getPreviousPageUrl</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_zphotos___album.html#adedadfbdaf3bab642603f75fdc90b18b">getPageUrlForPhoto</a> ($photo)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_zphotos___album.html#a48b21d18b8b3f128a03076bf9810a48b">getPageUrl</a> ()</td></tr>
<tr><td colspan="2"><div class="groupHeader">Photo methods</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpec77640e5f4b00410db70bab000d778c"></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___album.html#a46128f40ec5647b575f023c7693bd4da">searchPhoto</a> ($name)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_zphotos___album.html#a95b6f5152813681698ff78f3c5620d03">hasNextPhoto</a> ($photo)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_zphotos___album.html#a39fcb1c4283a99cbeedcd92580ddad81">getNextPhoto</a> ($photo)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_zphotos___album.html#ae17dff83d3fe5721080911b25dd1098c">hasPreviousPhoto</a> ($photo)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_zphotos___album.html#a72f3add7d1d0d536616be96d945efd15">getPreviousPhoto</a> ($photo)</td></tr>
<tr><td colspan="2"><div class="groupHeader">Public methods</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpc6bf276f2ea462e67b4a52516e141dd2"></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___album.html#aeac27a29c8b62336680ed4e267909ea3">searchAlbum</a> ($path)</td></tr>
<tr><td colspan="2"><h2><a name="member-group"></a>
Constructor</h2></td></tr>
<tr><td colspan="2"><p><a class="anchor" id="amgrp678d0a4421b60dc59999ac02837496a6"></a> </p>
<br/><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_zphotos___album.html#a50e2b1ff70a8819ac1c041d3b5e7913c">__construct</a> ($path, &amp;$album, &amp;$options)</td></tr>
</table>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a50e2b1ff70a8819ac1c041d3b5e7913c"></a><!-- doxytag: member="Zphotos_Album::__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>$path,le</em>&nbsp;</td><td>chemin vers le dossier de l'album. (chaîne de caractères) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$album,l'album</em>&nbsp;</td><td>parent. (objet <a class="el" href="class_zphotos___album.html">Zphotos_Album</a>) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$options,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="a96732906856f5d0e08852d04b3e8b9ce"></a><!-- doxytag: member="Zphotos_Album::getAlbums" ref="a96732906856f5d0e08852d04b3e8b9ce" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getAlbums </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 liste des sous-albums. (tableau d'objet Album) </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_zphotos___album.html#a4aff827e007d8a994da6543d40df29aa">getAlbumsNumber()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a4aff827e007d8a994da6543d40df29aa"></a><!-- doxytag: member="Zphotos_Album::getAlbumsNumber" ref="a4aff827e007d8a994da6543d40df29aa" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getAlbumsNumber </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>le nombre de sous-albums. (nombre) </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_zphotos___album.html#a96732906856f5d0e08852d04b3e8b9ce">getAlbums()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ae1ca0d2444e3cca6b147445348f686de"></a><!-- doxytag: member="Zphotos_Album::getBaseUrl" ref="ae1ca0d2444e3cca6b147445348f686de" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getBaseUrl </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 a pour but d'être completée par un sous-album, une photo, etc.</dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>l'url de base de l'album. Elle </dd></dl>

</div>
</div>
<a class="anchor" id="a19d65635254edecd668be35ec991f057"></a><!-- doxytag: member="Zphotos_Album::getFirstPhoto" ref="a19d65635254edecd668be35ec991f057" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getFirstPhoto </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 méthode peut être utile pour présenter l'album.</dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>la première photo de l'album, ou s'il est vide, d'un des sous-albums. (objet Photo) </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_zphotos___album.html#a1106864f4951b0dd6f0f51bf5b345e42">getRandomPhoto()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a9ab00a8a959c4e94fcda5473923f0d4b"></a><!-- doxytag: member="Zphotos_Album::getNextPageUrl" ref="a9ab00a8a959c4e94fcda5473923f0d4b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getNextPageUrl </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>l'url de la page suivante. (chaîne de caractères) </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_zphotos___album.html#a5cbe0d19e29e1e5461e810ceeacc8f5a">hasNextPage()</a> </dd>
<dd>
<a class="el" href="class_zphotos___album.html#a48b21d18b8b3f128a03076bf9810a48b">getPageUrl()</a> </dd></dl>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000002">Todo:</a></b></dt><dd>supprimer les référence à $this-&gt;page </dd></dl>

</div>
</div>
<a class="anchor" id="a39fcb1c4283a99cbeedcd92580ddad81"></a><!-- doxytag: member="Zphotos_Album::getNextPhoto" ref="a39fcb1c4283a99cbeedcd92580ddad81" args="($photo)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getNextPhoto </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>photo</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>photo</em>&nbsp;</td><td>en question. (objet Photo) </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>la photo suivante de la photo passée en paramètre. (objet Photo) </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_zphotos___album.html#a95b6f5152813681698ff78f3c5620d03">hasNextPhoto()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ae539c6c35efecc96236714824456c164"></a><!-- doxytag: member="Zphotos_Album::getPagesNumber" ref="ae539c6c35efecc96236714824456c164" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getPagesNumber </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>le nombre de pages de photo dans l'album. (booléen) </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_zphotos___album.html#a656b814a72d2f16d5eab18671ef133e2">setPhotosNumberByPage()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a48b21d18b8b3f128a03076bf9810a48b"></a><!-- doxytag: member="Zphotos_Album::getPageUrl" ref="a48b21d18b8b3f128a03076bf9810a48b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getPageUrl </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>numero</em>&nbsp;</td><td>de la page. (nombre) (facultatif, page courante par defaut) </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>l'url de la page recherchée. (chaîne de caractères) </dd></dl>

</div>
</div>
<a class="anchor" id="adedadfbdaf3bab642603f75fdc90b18b"></a><!-- doxytag: member="Zphotos_Album::getPageUrlForPhoto" ref="adedadfbdaf3bab642603f75fdc90b18b" args="($photo)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getPageUrlForPhoto </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>photo</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>la</em>&nbsp;</td><td>photo dont on cherche la page. (objet Photo) </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>l'url de la page contenant d'une photo donnée. (chaîne de caractères) </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_zphotos___album.html#a48b21d18b8b3f128a03076bf9810a48b">getPageUrl()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a82378771bf47c6715c996e156682f2fa"></a><!-- doxytag: member="Zphotos_Album::getPhotos" ref="a82378771bf47c6715c996e156682f2fa" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getPhotos </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<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>numero de la page. (nombre) (facultatif) </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>la liste des photos de la page de l'album. (tableau d'objets Photo) </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_zphotos___album.html#ad52b68a3418fbd96325ca116059ece3d">getPhotosNumber()</a> </dd>
<dd>
<a class="el" href="class_zphotos___album.html#a19d65635254edecd668be35ec991f057">getFirstPhoto()</a> </dd>
<dd>
<a class="el" href="class_zphotos___album.html#a1106864f4951b0dd6f0f51bf5b345e42">getRandomPhoto()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ad52b68a3418fbd96325ca116059ece3d"></a><!-- doxytag: member="Zphotos_Album::getPhotosNumber" ref="ad52b68a3418fbd96325ca116059ece3d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getPhotosNumber </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>le nombre de photos présentes dans l'album. (nombre) </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_zphotos___album.html#a82378771bf47c6715c996e156682f2fa">getPhotos()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a01e0173d33c3df8e230aa80ab17fd15b"></a><!-- doxytag: member="Zphotos_Album::getPhotosNumberByPage" ref="a01e0173d33c3df8e230aa80ab17fd15b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getPhotosNumberByPage </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>le nombre de photos à afficher par page, 0 si ce n'est pas limité. (nombre) </dd></dl>

</div>
</div>
<a class="anchor" id="a22de5565bb75a66d7b4c5318957e9c16"></a><!-- doxytag: member="Zphotos_Album::getPreviousPageUrl" ref="a22de5565bb75a66d7b4c5318957e9c16" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getPreviousPageUrl </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>l'url de la page precedente. (chaîne de caractères) </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_zphotos___album.html#acb7ae38947e4e7f6f703ac7dcaea543e">hasPreviousPage()</a> </dd>
<dd>
<a class="el" href="class_zphotos___album.html#a48b21d18b8b3f128a03076bf9810a48b">getPageUrl()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a72f3add7d1d0d536616be96d945efd15"></a><!-- doxytag: member="Zphotos_Album::getPreviousPhoto" ref="a72f3add7d1d0d536616be96d945efd15" args="($photo)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getPreviousPhoto </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>photo</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>photo</em>&nbsp;</td><td>en question. (objet Photo) </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>la photo précédente de la photo passée en paramètre. (objet Photo) </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_zphotos___album.html#ae17dff83d3fe5721080911b25dd1098c">hasPreviousPhoto()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a1106864f4951b0dd6f0f51bf5b345e42"></a><!-- doxytag: member="Zphotos_Album::getRandomPhoto" ref="a1106864f4951b0dd6f0f51bf5b345e42" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getRandomPhoto </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 méthode peut être utile pour présenter l'album.</dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>une photo aléatoire parmi l'album, ou s'il est vide, des sous-albums. (objet Photo) </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_zphotos___album.html#a19d65635254edecd668be35ec991f057">getFirstPhoto()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="accd14bda49a1044b4d8dd93f020f11ee"></a><!-- doxytag: member="Zphotos_Album::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="return"><dt><b>Returns:</b></dt><dd>l'url de l'album. (chaîne de caractères) </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_zphotos___album.html#ae1ca0d2444e3cca6b147445348f686de">getBaseUrl()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a5d216a7e554c1fa453de88d85caf8fb3"></a><!-- doxytag: member="Zphotos_Album::hasAlbums" ref="a5d216a7e554c1fa453de88d85caf8fb3" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">hasAlbums </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>vrai si cet album est un parent de l'album courant. (booleen) </dd></dl>

</div>
</div>
<a class="anchor" id="a5cbe0d19e29e1e5461e810ceeacc8f5a"></a><!-- doxytag: member="Zphotos_Album::hasNextPage" ref="a5cbe0d19e29e1e5461e810ceeacc8f5a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">hasNextPage </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>vrai si la page courante a une page suivante. (booléen) </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_zphotos___album.html#a9ab00a8a959c4e94fcda5473923f0d4b">getNextPageUrl()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a95b6f5152813681698ff78f3c5620d03"></a><!-- doxytag: member="Zphotos_Album::hasNextPhoto" ref="a95b6f5152813681698ff78f3c5620d03" args="($photo)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">hasNextPhoto </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>photo</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Est-ce qu'une photo donnée a une photo suivante ?</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>photo</em>&nbsp;</td><td>en question. (objet Photo) </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>vrai si la photo passée en parametre a une photo suivante. (booleen) </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_zphotos___album.html#a39fcb1c4283a99cbeedcd92580ddad81">getNextPhoto()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="acb7ae38947e4e7f6f703ac7dcaea543e"></a><!-- doxytag: member="Zphotos_Album::hasPreviousPage" ref="acb7ae38947e4e7f6f703ac7dcaea543e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">hasPreviousPage </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>vrai si la page courante a une page precedente. (booléen) </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_zphotos___album.html#a22de5565bb75a66d7b4c5318957e9c16">getPreviousPageUrl()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ae17dff83d3fe5721080911b25dd1098c"></a><!-- doxytag: member="Zphotos_Album::hasPreviousPhoto" ref="ae17dff83d3fe5721080911b25dd1098c" args="($photo)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">hasPreviousPhoto </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>photo</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Est-ce qu'une photo donnée a une photo précédente ?</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>photo</em>&nbsp;</td><td>en question. (objet Photo) </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>vrai si la photo passée en parametre a une photo précédente. (booleen) </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_zphotos___album.html#a72f3add7d1d0d536616be96d945efd15">getPreviousPhoto()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ae67ab57b7995eda1ef471a053e7d4ad3"></a><!-- doxytag: member="Zphotos_Album::hasSeveralPages" ref="ae67ab57b7995eda1ef471a053e7d4ad3" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">hasSeveralPages </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>vrai s'il y a plusieurs pages de photos. (booléen) </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_zphotos___album.html#ae539c6c35efecc96236714824456c164">getPagesNumber()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="aedcc52b3673b8df9425e52f13accb2a1"></a><!-- doxytag: member="Zphotos_Album::isEmpty" ref="aedcc52b3673b8df9425e52f13accb2a1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">isEmpty </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Est-ce que l'album est vide, c'est-a-dire ne contient aucune photo ?</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>est-ce</em>&nbsp;</td><td>que vous voulez savoir si mes sous-albums sont vides également ? (booleen) (facultatif, faux par defaut) </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>vrai si l'album est vide. (booleen) </dd></dl>

</div>
</div>
<a class="anchor" id="a0ffad5d6c22c3f66cea49f24f81a5b1a"></a><!-- doxytag: member="Zphotos_Album::isRootAlbum" ref="a0ffad5d6c22c3f66cea49f24f81a5b1a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">isRootAlbum </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>vrai si cet album est l'album racine. (booleen) </dd></dl>

</div>
</div>
<a class="anchor" id="aeac27a29c8b62336680ed4e267909ea3"></a><!-- doxytag: member="Zphotos_Album::searchAlbum" ref="aeac27a29c8b62336680ed4e267909ea3" args="($path)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">searchAlbum </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>path</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$path,le</em>&nbsp;</td><td>chemin correspondant à l'album recherché. (chaîne de caratères) </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>l'album qui correspond au chemin passé en paramètre. (objet Album) </dd></dl>

</div>
</div>
<a class="anchor" id="a46128f40ec5647b575f023c7693bd4da"></a><!-- doxytag: member="Zphotos_Album::searchPhoto" ref="a46128f40ec5647b575f023c7693bd4da" args="($name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">searchPhoto </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>name</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>nom</em>&nbsp;</td><td>de la photo recherchée. (chaîne de caractères) </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>la photo qui correcpond au nom passé en paramètre. (objet Photo) </dd></dl>

</div>
</div>
<a class="anchor" id="a656b814a72d2f16d5eab18671ef133e2"></a><!-- doxytag: member="Zphotos_Album::setPhotosNumberByPage" ref="a656b814a72d2f16d5eab18671ef133e2" args="($maxSize)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">setPhotosNumberByPage </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>maxSize</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Change le nombre de photo à afficher par page. </p>
<dl class="note"><dt><b>Note:</b></dt><dd>Si vous ne voulez pas de système de page, il faut le mettre à 0.</dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>nombre</em>&nbsp;</td><td>maximum de photos a afficher par page. (nombre) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a12e774c3891faf14f44002a126e239b7"></a><!-- doxytag: member="Zphotos_Album::sortAlbums" ref="a12e774c3891faf14f44002a126e239b7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">sortAlbums </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Trie les sous-albums</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>critère, peut prendre comme valeur 'name' ou 'date'. (chaîne de caractères) (facultatif, 'name', par defaut) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>voulez-vous</em>&nbsp;</td><td>trier a l'envers ? (booleen) (facultatif, faux par defaut) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dois-je</em>&nbsp;</td><td>trier mes sous-albums egalement ? (booleen) (facultatif, faux par defaut) </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_zphotos___album.html#ab7fb9d7d6be7f8c123677480d595955d">sortPhotos()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ab7fb9d7d6be7f8c123677480d595955d"></a><!-- doxytag: member="Zphotos_Album::sortPhotos" ref="ab7fb9d7d6be7f8c123677480d595955d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">sortPhotos </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Trie les photos</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>critère, peut prendre comme valeur 'name' ou 'date'. (chaîne de caractères) (facultatif, 'name', par defaut) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>voulez-vous</em>&nbsp;</td><td>trier a l'envers ? (booleen) (facultatif, faux par defaut) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dois-je</em>&nbsp;</td><td>trier les photos de mes sous-albums egalement ? (booleen) (facultatif, faux par defaut) </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_zphotos___album.html#a12e774c3891faf14f44002a126e239b7">sortAlbums()</a> </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___album_8php.html">Zphotos_Album.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