claroline/claroline/inc/lib/claro_utils.lib.php File Reference

Go to the source code of this file.

Namespaces

namespace  KERNEL

Functions

 cutstring ($str, $length, $allow_cut_word=TRUE, $extra_length=0, $ending="")
 stripstresses ($str)

Function Documentation

cutstring ( str,
length,
allow_cut_word = TRUE,
extra_length = 0,
ending = "" 
)

cut string allowing word integrity preservation

TODO : move to a more accurate library

See also:
inc/lib/immage.lib.phpcutstring
Author:
Frederic Minne <minne@ipm.ucl.ac.be>
Parameters:
string (string) string
length (int) length of the resulting string
allow_cut_word (boolean) allow word cutting default : TRUE
extra_length (int) allow extra length to the string to preserve word integrity
ending (string) append the given string at the end of the cutted one
Returns:
(string) the cutted string

Definition at line 32 of file claro_utils.lib.php.

stripstresses ( str  ) 

list the property of a course

Returns:
$array a array

Definition at line 67 of file claro_utils.lib.php.

Generated on Tue Jun 8 12:28:37 2010 for Claroline API by  doxygen 1.6.3