TeraWurfl
[ class tree: TeraWurfl ] [ index: TeraWurfl ] [ all elements ]

Class: WurflSupport

Source Location: /WurflSupport.php

Class Overview


Provides static supporting functions for Tera-WURFL


Methods



Class Details

[line 23]
Provides static supporting functions for Tera-WURFL



[ Top ]


Class Methods


static method formatBitrate [line 45]

static string formatBitrate( int|string $bytes, int|string $seconds)

Formats the given $bytes and $seconds as a bitrate



Tags:

access:  public


Parameters:

int|string   $bytes  
int|string   $seconds  

[ Top ]

static method formatBytes [line 30]

static string formatBytes( int|string $bytes)

Formats an int as a human-readable byte size



Tags:

access:  public


Parameters:

int|string   $bytes  

[ Top ]

static method showBool [line 61]

static string showBool( bool $var)

Converts boolean values to strings for display



Tags:

access:  public


Parameters:

bool   $var  

[ Top ]

static method showLogLevel [line 71]

static string showLogLevel( int $num)

Displays the given PHP Log Level as its constant name



Tags:

return:  Log level name
access:  public


Parameters:

int   $num   Log level

[ Top ]


Documentation generated on Thu, 03 Oct 2013 15:19:21 -0400 by phpDocumentor 1.4.4