ZphotosExpressV2/sources/Utils/Zphotos_Utils.php File Reference

Functions

Utils

 zp_startswith ($hay, $needle)
 zp_endswith ($hay, $needle)
 zp_istartswith ($hay, $needle)
 zp_iendswith ($hay, $needle)
 zp_alert ($var)
 zp_rawurlencode ($str)

Detailed Description

Note:
Copyright (C) 2007-2010 Thomas ZILLIOX

This file is part of ZPHOTOS EXPRESS.

ZPHOTOS EXPRESS is free script: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License.

ZPHOTOS EXPRESS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with ZPHOTOS EXPRESS. If not, see <http://www.gnu.org/licenses/>.

You can contact the author by e-mail thomas@zilliox.me


Function Documentation

zp_alert ( var  ) 

Permet d'ouvrir un message d'alerte javascript contenant la variable que l'on souhaite afficher

Parameters:
variable à afficher.
zp_endswith ( hay,
needle 
)
Parameters:
texte de référence. (chaîne de caractères)
texte recherché. (chaîne de caractères)
Returns:
true si le texte de référence fini par le texte recherché en tenant compte de la casse. (booléen)
See also:
zp_startswith()
zp_iendswith()
zp_iendswith ( hay,
needle 
)
Parameters:
texte de référence. (chaîne de caractères)
texte recherché. (chaîne de caractères)
Returns:
true si le texte de référence fini par le texte recherché sans tenir compte de la casse. (booléen)
See also:
zp_istartswith()
zp_endswith()
zp_istartswith ( hay,
needle 
)
Parameters:
texte de référence. (chaîne de caractères)
texte recherché. (chaîne de caractères)
Returns:
true si le texte de référence commence par le texte recherché sans tenir compte de la casse. (booléen)
See also:
zp_startswith()
zp_iendswith()
zp_rawurlencode ( str  ) 
Parameters:
texte à encodre. (chaîne de caractères)
Returns:
encode le texte avec la méthode rawurlencode() et encode en plus les caratères '/'. (chaîne de caractères)
zp_startswith ( hay,
needle 
)
Parameters:
texte de référence. (chaîne de caractères)
texte recherché. (chaîne de caractères)
Returns:
true si le texte de référence commence par le texte recherché en tenant compte de la casse. (booléen)
See also:
zp_istartswith()
zp_endswith()