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

Class: Utils

Source Location: /common/Utils.php

Class Overview


Utiliy class containing static methods for various common tasks.


Methods



Class Details

[line 30]
Utiliy class containing static methods for various common tasks.



[ Top ]


Class Methods


method copyProperties [line 40]

mixed copyProperties( mixed $from_object, mixed $to_object)

Copies values from an objet to another. It uses reflection for reading the properties of each objects.



Tags:

static:  
access:  public


Parameters:

mixed   $from_object  
mixed   $to_object  

[ Top ]

method copyVars [line 66]

mixed copyVars( mixed $from_object, mixed $to_object)

Copies values from an objet to another. It only updates if destination var exists. Does not use reflection.



Tags:

static:  
access:  public


Parameters:

mixed   $from_object  
mixed   $to_object  

[ Top ]

method pathToPlatform [line 98]

string pathToPlatform( string $path)

Converts a path with any delimitors to a path with delimitors used by the current platform.



Tags:

static:  
access:  public


Parameters:

string   $path  

[ Top ]

method pathToUnix [line 85]

string pathToUnix( string $path)

Converts a path to unix path delmitors.



Tags:

static:  
access:  public


Parameters:

string   $path  

[ Top ]


Documentation generated on Wed, 6 Apr 2005 12:07:07 +0200 by phpDocumentor 1.3.0RC3