PRADO Component Framework for PHP 5
  • Home
  • About
  • Testimonials
  • Demos
  • Download
  • Documentation
  • Forum
  • Development
  • Tutorials
  • Class Docs
  • API Manual
  • Wiki

Packages

  • None
  • System
    • Caching
    • Collections
    • Data
      • ActiveRecord
        • Relations
        • Scaffold
          • InputBuilder
      • Commom
        • Sqlite
      • Common
        • Mssql
        • Mysql
        • Oracle
        • Pgsql
        • Sqlite
      • DataGateway
      • SqlMap
        • Configuration
        • Statements
    • Exceptions
    • I18N
    • IO
    • Security
    • Util
    • Web
      • Javascripts
      • Services
      • UI
        • ActiveControls
        • WebControls
    • Xml
  • Wsat
    • pages
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class TParameterProperty

TParameterProperty corresponds to the <property> tag and defines one object property for the <parameterMap>

The NullValue setNullValue() attribute can be set to any valid value (based on property type). The NullValue setNullValue() attribute is used to specify an inbound null value replacement. What this means is that when the value is detected in the object property, a NULL will be written to the database (the opposite behavior of an inbound null value replacement). This allows you to use a magic null number in your application for types that do not support null values (such as int, double, float). When these types of properties contain a matching null value (for example, say, -9999), a NULL will be written to the database instead of the value.

TComponent
Extended by TParameterProperty
Package: System\Data\SqlMap\Configuration
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/Configuration/TParameterProperty.php
Methods summary
public string
# getTypeHandler( )

Returns

string
class name of a custom type handler.
public
# setTypeHandler( string $value )

Parameters

$value
string
class name of a custom type handler.
public string
# getType( )

Returns

string
type of the parameter's property
public
# setType( string $value )

Parameters

$value
string
type of the parameter's property
public string
# getColumn( )

Returns

string
name of a parameter to be used in the SQL statement.
public
# setColumn( string $value )

Parameters

$value
string
name of a parameter to be used in the SQL statement.
public string
# getDbType( )

Returns

string
the database column type of the parameter to be set by this property.
public
# setDbType( string $value )

Parameters

$value
string
the database column type of the parameter to be set by this property.
public string
# getProperty( )

Returns

string
name of a property of the parameter object.
public
# setProperty( string $value )

Parameters

$value
string
name of a property of the parameter object.
public mixed
# getNullValue( )

Returns

mixed
null value replacement
public
# setNullValue( mixed $value )

The nullValue attribute is used to specify an outgoing null value replacement.

The nullValue attribute is used to specify an outgoing null value replacement.

Parameters

$value
mixed
null value replacement.
public
# __sleep( )

Returns an array with the names of all variables of that object that should be serialized. Do not call this method. This is a PHP magic method that will be called automatically prior to any serialization.

Returns an array with the names of all variables of that object that should be serialized. Do not call this method. This is a PHP magic method that will be called automatically prior to any serialization.

Overrides

TComponent::__sleep()
Methods inherited from TComponent
__call(), __construct(), __destruct(), __get(), __isset(), __set(), __unset(), __wakeup(), addParsedObject(), asa(), attachBehavior(), attachBehaviors(), attachClassBehavior(), attachEventHandler(), canGetProperty(), canSetProperty(), clearBehaviors(), createdOnTemplate(), detachBehavior(), detachBehaviors(), detachClassBehavior(), detachEventHandler(), disableBehavior(), disableBehaviors(), enableBehavior(), enableBehaviors(), evaluateExpression(), evaluateStatements(), fxAttachClassBehavior(), fxDetachClassBehavior(), getAutoGlobalListen(), getBehaviorsEnabled(), getClassHierarchy(), getEventHandlers(), getListeningToGlobalEvents(), getSubProperty(), hasEvent(), hasEventHandler(), hasProperty(), isa(), listen(), raiseEvent(), setSubProperty(), unlisten()
Constants inherited from TComponent
GLOBAL_RAISE_EVENT_LISTENER
Terms of Service | Contact Us
PRADO v3.2.4 API Manual API documentation generated by ApiGen 2.8.0
Copyright © 2006-2014 by the PRADO Group.
Powered by PRADO