You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
445 B
20 lines
445 B
15 years ago
|
<?php
|
||
|
/* For licensing terms, see /license.txt */
|
||
14 years ago
|
|
||
16 years ago
|
/**
|
||
15 years ago
|
* @package chamilo.learnpath
|
||
16 years ago
|
* @author Yannick Warnier <ywarnier@beeznest.org>
|
||
|
*/
|
||
14 years ago
|
|
||
16 years ago
|
/**
|
||
|
* Start a timer and hand it back to the JS by assigning the current time (of start) to
|
||
|
* var asset_timer
|
||
15 years ago
|
* @return string JavaScript time intializer
|
||
16 years ago
|
*/
|
||
9 years ago
|
function start_timer()
|
||
|
{
|
||
16 years ago
|
$time = time();
|
||
12 years ago
|
return $time; //"olms.asset_timer='$time'; olms.asset_timer_total = 0;";
|
||
16 years ago
|
}
|
||
9 years ago
|
|
||
12 years ago
|
echo start_timer();
|