domci update
Store the version 0.51 git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4267 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -87,7 +87,7 @@ class convert
|
|||||||
/** Convert the provided integer to human readable format
|
/** Convert the provided integer to human readable format
|
||||||
* Example : 1440000000 => 1.44Mo
|
* Example : 1440000000 => 1.44Mo
|
||||||
* @param integer $bytes The number of bytes to convert
|
* @param integer $bytes The number of bytes to convert
|
||||||
* @param integer $decimal The number of decimal
|
* @param integer $decimals The number of decimal
|
||||||
*/
|
*/
|
||||||
public static function humanSize ($bytes, $decimals = 2)
|
public static function humanSize ($bytes, $decimals = 2)
|
||||||
{
|
{
|
||||||
|
|||||||
5
form.php
5
form.php
@@ -110,7 +110,8 @@ class form
|
|||||||
/** Set logging class an method
|
/** Set logging class an method
|
||||||
* @param callable $loggingCallable The callable function. This method will
|
* @param callable $loggingCallable The callable function. This method will
|
||||||
* receive two params : the LOG level (LOG_ERROR...) and the message
|
* receive two params : the LOG level (LOG_ERROR...) and the message
|
||||||
* @param string|null $basemsg The basemsg added at the beginning of the log
|
* @param string|null $loggingBasemsg The basemsg added at the beginning of
|
||||||
|
* the log
|
||||||
*/
|
*/
|
||||||
public function logging ($loggingCallable, $loggingBasemsg = "")
|
public function logging ($loggingCallable, $loggingBasemsg = "")
|
||||||
{
|
{
|
||||||
@@ -120,6 +121,8 @@ class form
|
|||||||
// }}}
|
// }}}
|
||||||
|
|
||||||
/** The private method to log if the $this->loggingCallable is defined
|
/** The private method to log if the $this->loggingCallable is defined
|
||||||
|
* @param integer $prio The priority of the message
|
||||||
|
* @param string $msg The message to store
|
||||||
*/
|
*/
|
||||||
private function loggingCallable ($prio, $msg)
|
private function loggingCallable ($prio, $msg)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -11,4 +11,4 @@
|
|||||||
if (!defined ("DOMFRAMEWORK_VERSION") ||
|
if (!defined ("DOMFRAMEWORK_VERSION") ||
|
||||||
version_compare (DOMFRAMEWORK_VERSION, "0.6") < 0)
|
version_compare (DOMFRAMEWORK_VERSION, "0.6") < 0)
|
||||||
die ("Your DomFramework version is too old : 0.6 minimum\n"); */
|
die ("Your DomFramework version is too old : 0.6 minimum\n"); */
|
||||||
define ("DOMFRAMEWORK_VERSION", "0.50");
|
define ("DOMFRAMEWORK_VERSION", "0.51");
|
||||||
|
|||||||
Reference in New Issue
Block a user