aasprintf.lib.php File Reference

The aasprintf method. More...

Go to the source code of this file.

Functions

 aasprintf ($format, &$data)
 Returns a formatted string with named variable substitution (DOES NOT WORK!).


Detailed Description

The aasprintf method.

See also:
aasprintf

Definition in file aasprintf.lib.php.


Function Documentation

aasprintf ( format,
&$  data 
)

Returns a formatted string with named variable substitution (DOES NOT WORK!).

Normal sprintf-formatting specifiers can be used (eg. s), with one important modification: %(name)s should be used to specify that $data['name'] should be used to fill in this variable.

Parameters:
$format A sprintf-like format specifier with named variable names.
$data An associative array containing name/value pairs to be used for substitution.

Definition at line 34 of file aasprintf.lib.php.


Generated on Sun Aug 2 22:54:36 2009 for Anewt by  doxygen 1.5.9