symfony API

sfTimerManager Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.1 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.1 version. Switch to:
This version of symfony is not maintained anymore.
If some of your projects still use this version, consider upgrading as soon as possible.

sfTimerManager is a container for sfTimer objects.

Method Summary

  • clearTimers()
    Clears all sfTimer instances stored in sfTimerManager.
  • sfTimer getTimer($name)
    Gets a sfTimer instance.
  • array getTimers()
    Gets all sfTimer instances stored in sfTimerManager.

Method Details

  • clearTimers () Browse code

    Clears all sfTimer instances stored in sfTimerManager.

  • (sfTimer) getTimer ($name) Browse code

    $name The name of the timer

    Gets a sfTimer instance.


    It returns the timer named $name or create a new one if it does not exist.

    returns The timer instance

  • (array) getTimers () Browse code

    Gets all sfTimer instances stored in sfTimerManager.

    returns An array of all sfTimer instances