commit
2a51dadc72
@ -681,9 +681,9 @@ $db->close();
|
||||
/**
|
||||
* Verify if $haystack startswith $needle
|
||||
*
|
||||
* @param String $haystack string to test
|
||||
* @param String $needle string to find
|
||||
* @return false if Ko true else
|
||||
* @param string $haystack string to test
|
||||
* @param string $needle string to find
|
||||
* @return bool false if Ko true else
|
||||
*/
|
||||
function startsWith($haystack, $needle)
|
||||
{
|
||||
@ -695,8 +695,8 @@ function startsWith($haystack, $needle)
|
||||
* Fetch object with ref
|
||||
*
|
||||
* @param Object $static_object static object to fetch
|
||||
* @param String $tmp_ref ref of the object to fetch
|
||||
* @return <0 if Ko or Id of object
|
||||
* @param string $tmp_ref ref of the object to fetch
|
||||
* @return int <0 if Ko or Id of object
|
||||
*/
|
||||
function fetchref($static_object, $tmp_ref)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user