Class TSqlMapTypeHandlerRegistry
TTypeHandlerFactory provides type handler classes to convert database field type to PHP types and vice versa.
Package: System\Data\SqlMap
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Wei Zhuo <weizho[at]gmail[dot]com>
Since: 3.1
Located at Data/SqlMap/DataMapper/TSqlMapTypeHandlerRegistry.php
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Wei Zhuo <weizho[at]gmail[dot]com>
Since: 3.1
Located at Data/SqlMap/DataMapper/TSqlMapTypeHandlerRegistry.php
public
|
|
public
|
|
public
|
|
public
mixed
|
#
createInstanceOf( string $type = '' )
Creates a new instance of a particular class (for PHP primative types, their corresponding default value for given type is used). |
public
mixed
|
#
convertToType( string $type, mixed $value )
Converts the value to given type using PHP's settype() function. |