BMO Methods

FreePBX::View()->drawClock($time, $tz, $id, $label, $errormsg)

All items are optional.

  • $time int Unixtime, default NOW

  • $tz string Timezone. Example: America/Phoenix, default php timezone

  • $id string The id for the html element, default clock{randint}

  • $label string What prefixes the time, default "Server time:"

  • $errormsg string What displays if there is a javascript failure.

Return to Documentation Home I Return to Sangoma Support