|
Moodle
2.2.1
http://www.collinsharper.com
|
Public Member Functions | |
| uri ($uri, $forceAmpersand=false) | |
| __construct ($sources) | |
Data Fields | |
| $lastModified = 0 | |
Static Public Attributes | |
| static | $ampersand = '&' |
| __construct | ( | $ | sources | ) |
Create a build object
| array | $sources | array of Minify_Source objects and/or file paths |
| uri | ( | $ | uri, |
| $ | forceAmpersand = false |
||
| ) |
Get a time-stamped URI
echo $b->uri('/site.js'); // outputs "/site.js?1678242"
echo $b->uri('/scriptaculous.js?load=effects'); // outputs "/scriptaculous.js?load=effects&1678242"
| string | $uri | |
| boolean | $forceAmpersand | (default = false) Force the use of ampersand to append the timestamp to the URI. |