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 TDataSourceView

TDataSourceView class

TComponent
Extended by TDataSourceView

Direct known subclasses

TReadOnlyDataSourceView
Abstract
Package: System\Web\UI\WebControls
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 3.0
Located at Web/UI/WebControls/TDataSourceView.php
Methods summary
public
# __construct( IDataSource $owner, mixed $viewName )

The common __construct If desired by the new object, this will auto install and listen to global event functions as defined by the object via 'fx' methods. This also attaches any predefined behaviors. This function installs all class behaviors in a class hierarchy from the deepest subclass through each parent to the top most class, TComponent.

The common __construct If desired by the new object, this will auto install and listen to global event functions as defined by the object via 'fx' methods. This also attaches any predefined behaviors. This function installs all class behaviors in a class hierarchy from the deepest subclass through each parent to the top most class, TComponent.

Overrides

TComponent::__construct()
abstract public Traversable
# select( ??? $parameters )

Performs DB selection based on specified parameters.

Performs DB selection based on specified parameters.

Parameters

$parameters
???

Returns

Traversable
public integer
# insertAt( array|TMap $values )

Inserts a DB record.

Inserts a DB record.

Parameters

$values
array|TMap

Returns

integer
affected rows
public integer
# update( array|TMap $keys, array|TMap $values )

Updates DB record(s) with the specified keys and new values

Updates DB record(s) with the specified keys and new values

Parameters

$keys
array|TMap
keys for specifying the records to be updated
$values
array|TMap
new values

Returns

integer
affected rows
public integer
# delete( array|TMap $keys )

Deletes DB row(s) with the specified keys.

Deletes DB row(s) with the specified keys.

Parameters

$keys
array|TMap
keys for specifying the rows to be deleted

Returns

integer
affected rows
public
# getCanDelete( )
public
# getCanInsert( )
public
# getCanPage( )
public
# getCanGetRowCount( )
public
# getCanSort( )
public
# getCanUpdate( )
public
# getName( )
public
# getDataSource( )
public
# onDataSourceViewChanged( mixed $param )
Methods inherited from TComponent
__call(), __destruct(), __get(), __isset(), __set(), __sleep(), __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