Class Utils

Description

Located in /Utils.class.php (line 3)


	
			
Method Summary
boolean isFF ()
boolean isIE ()
boolean isMobileDevice ()
string JSSave (string $pText)
string makePulldown (string $pName, array $pData, string $pSelected, [string $pAction = ""])
array xml2array (mixed $text)
Methods
isFF (line 70)

Chechk if the user is using Firefox browser

Chechk if the user is using Firefox browser

  • access: public
  • static:
boolean isFF ()
isIE (line 62)

Chechk if the user is using Internet Explorer browser

Chechk if the user is using Internet Explorer browser

  • access: public
  • static:
boolean isIE ()
isMobileDevice (line 78)

Check if the user is using a mobile device.

Check if the user is using a mobile device.

  • access: public
  • static:
boolean isMobileDevice ()
JSSave (line 51)

Make some text javascript save.

Make some text javascript save. This means escaping the single quote and removing new lines.

  • access: public
  • static:
string JSSave (string $pText)
  • string $pText
makePulldown (line 30)

Make a pulldown.

Make a pulldown. You can add some onchange (javascript) action with the param $pAction

  • access: public
  • static:
string makePulldown (string $pName, array $pData, string $pSelected, [string $pAction = ""])
  • string $pName
  • array $pData
  • string $pSelected
  • string $pAction
xml2array (line 9)

Make from an XML file an array.

Make from an XML file an array.

  • access: public
  • static:
array xml2array (mixed $text)

Documentation generated on Sat, 19 Jan 2008 12:56:20 +0100 by phpDocumentor 1.3.0RC3