This commit is contained in:
Romain Neutron
2012-05-23 00:01:29 +02:00
parent 41e56ed86b
commit 4afa21d419
346 changed files with 2234 additions and 3759 deletions

View File

@@ -77,8 +77,8 @@ class random
/**
*
* @param int $length
* @param constant $possible
* @param int $length
* @param constant $possible
* @return string
*/
public static function generatePassword($length = 8, $possible = SELF::LETTERS_AND_NUMBERS)
@@ -102,10 +102,10 @@ class random
/**
*
* @param string $type
* @param int $usr
* @param string $end_date
* @param mixed content $datas
* @param string $type
* @param int $usr
* @param string $end_date
* @param mixed content $datas
* @return boolean
*/
public static function getUrlToken($type, $usr, DateTime $end_date = null, $datas = '')