w10schools
Login Register
  • Home
  • Tutorials
    • HTML, CSS
      • HTML, HTML5
      • CSS, CSS3
    • XML
    • JavaScript, AJAX
    • PHP
    • Ruby on Rails
      • Ruby
      • Rails
    • ASP.NET
      • ASP
      • C# .NET
    • Java
      • JSP
    • Databases
      • MySQL
      • MSSQL Server
      • Oracle
    • Web Server
      • Windows
      • Linux
      • Apache
      • IIS
    • Design
      • Dreamweaver
      • Flash
      • Photoshop
      • Fireworks
      • CorelDRAW
      • Illustrator
  • References
    • HTML
      • Bootstrap
    • CSS
      • CSS Selectors
      • Sass
    • JavaScript
    • Mobile Apps
      • Cordova
    • Ruby on Rails
      • Ruby
      • Rails
    • PHP
      • Function
      • Language
      • CodeIgniter
      • Phalcon
      • PHPUnit
      • Symfony
      • Drupal
      • Yii
      • Laravel
    • Perl
      • Perl
    • Python
      • Python
      • Django
      • NumPy
      • Pandas
      • scikit-image
      • scikit-learn
      • Statsmodels
      • Matplotlib
    • Lua
      • Lua
    • C, C++
      • C
      • C++
    • Server
      • Docker
      • Apache HTTP Server
      • Nginx
    • Database
      • PostgreSQL
    • Big Data
      • TensorFlow
    • Game Development
      • Phaser
      • LÖVE
  • Articles
    • News
    • General
      • Website Promotion
      • Online Advertising
      • Make Money Online
    • Editorials
    • Interviews
    • Web Roundups
  • Resources
    • Design
      • Fonts
      • Graphics
      • Vectors
      • Templates
      • UI (User Interface)
      • Brushes
      • Patterns, Backgrounds
      • Textures
    • Web Development
      • HTML, CSS
      • XML
      • JavaScript, AJAX
      • Ruby on Rails
      • PHP
      • Java
      • .NET
      • Python
      • Perl
      • Flash
    • Mobile Application Development
      • Mobile Development Tools
      • Swift
    • Online Services
      • Online Storage
      • Web Hosting
  • Tools
    • Generators
  • Bulletin
  • Posts
doc_Symfony
doc_Symfony


StopwatchExtension::getStopwatch()

getStopwatch()

StopwatchExtension::getName()

getName()

StopwatchExtension

class StopwatchExtension extends Twig_Extension Twig extension for the stopwatch helper. Methods __construct(Stopwatch $stopwatch = null, $enabled = true) getStopwatch() getTokenParsers() getName() Details __construct(Stopwatch $stopwatch = null, $enabled = true) Parameters Stopwatch $stopwatch $enabled getStopwatch() getTokenParsers()

StopwatchEvent::stop()

StopwatchEvent stop() Stops the last started event period. Return Value StopwatchEvent The event Exceptions LogicException When stop() is called without a matching call to start()

StopwatchEvent::start()

StopwatchEvent start() Starts a new event period. Return Value StopwatchEvent The event

StopwatchEvent::lap()

StopwatchEvent lap() Stops the current period and then starts a new one. Return Value StopwatchEvent The event

StopwatchEvent::isStarted()

bool isStarted() Checks if the event was started. Return Value bool

StopwatchEvent::getStartTime()

int getStartTime() Gets the relative time of the start of the first period. Return Value int The time (in milliseconds)

StopwatchEvent::getPeriods()

StopwatchPeriod[] getPeriods() Gets all event periods. Return Value StopwatchPeriod[] An array of StopwatchPeriod instances

StopwatchEvent::getOrigin()

float getOrigin() Gets the origin. Return Value float The origin in milliseconds

Page 100 of 787

|< < Prev 97 98 99 100 101 102 103 Next > >|
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions