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

Class: MUtils

Source Location: /MUtils.php

Class Overview


Utility methods to manipulate strings


Methods



Class Details

[line 19]
Utility methods to manipulate strings



[ Top ]


Class Methods


static method findexts [line 39]

static string findexts( string $filename)

Find the extension for a file



Tags:

return:  extension
link:  http://php.about.com/od/finishedphp1/qt/file_ext_PHP.htm
access:  public


Parameters:

string   $filename   file name or path

[ Top ]

static method GetFileArray [line 54]

static array GetFileArray( string $path, bool $recursive)

Get an array of files in $path



Tags:

return:  Array of files paths from $path
access:  public


Parameters:

string   $path   Where to look for files
bool   $recursive   Look in subdirectories?

[ Top ]

static method strtolower_utf8 [line 26]

static string strtolower_utf8( string $inputString)

Convert a string to lowercase and utf8



Tags:

return:  lowercase utf8 string
access:  public


Parameters:

string   $inputString   string to convert

[ Top ]

method FixNumber [line 88]

string FixNumber( string $fixnumber)

Standardise a phone number for entry into database



Tags:

access:  public


Parameters:

string   $fixnumber  

[ Top ]

method PrintObject [line 76]

void PrintObject( mixed $object)

Print information about an object to the page



Tags:

access:  public


Parameters:

mixed   $object  

[ Top ]


Documentation generated on Sat, 06 Sep 2008 17:49:21 +1000 by phpDocumentor 1.4.2