symfony API

sfTimerManager Class

« Back to API menu

1.2 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.2 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.
  • 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.

  • 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

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting.
Sensio Labs also supports several large Open-Source projects.