Transactd API for PHP
  • Namespace
  • Class

Namespaces

  • BizStation
    • Transactd

Classes

  • ActiveTable
  • Avg
  • Benchmark
  • BinlogPos
  • Bitset
  • Bookmark
  • BtrDate
  • BtrDateTime
  • BtrTime
  • BtrTimeStamp
  • BtrVersion
  • BtrVersions
  • ConnectParams
  • ConnMgr
  • ConnRecord
  • ConnRecords
  • ConnRecordsIterator
  • Count
  • Database
  • Dbdef
  • Field
  • Fielddef
  • Fielddef_t_my
  • Fielddefs
  • FielddefsIterator
  • FieldNames
  • First
  • Flags
  • GroupFuncBase
  • GroupQuery
  • HaNameResolver
  • Keydef
  • KeySegment
  • Last
  • Max
  • Min
  • Nsdatabase
  • Nstable
  • PooledDbManager
  • PreparedQuery
  • Query
  • QueryBase
  • RangeIterator
  • Record
  • RecordIterator
  • Recordset
  • RecordsetIterator
  • RecordsetQuery
  • SortField
  • SortFields
  • Sum
  • Table
  • Tabledef
  • TableIterator
  • Transactd
  • WritableRecord

Class Table

BizStation\Transactd\Nstable
Extended by BizStation\Transactd\Table
Namespace: BizStation\Transactd
Located at

Methods summary

public BizStation\Transactd\TableIterator
# getIterator( )

Returns

BizStation\Transactd\TableIterator
public
# __set( $var, $value )
public
# __get( $var )
public
# __isset( $var )
public
# __construct( resource $h )

Parameters

$h

Overrides

BizStation\Transactd\Nstable::__construct
public BizStation\Transactd\Tabledef
# tableDef( )

Returns

BizStation\Transactd\Tabledef
public boolean
# valiableFormatType( )

Returns

boolean
public boolean
# blobFieldUsed( )

Returns

boolean
public boolean
# logicalToString( )

Returns

boolean
public
# setLogicalToString( boolean $v )

Parameters

$v
public boolean
# myDateTimeValueByBtrv( )

Returns

boolean
public integer
# bookmarksCount( )

Returns

integer
public
# moveBookmarks( integer $index )

Parameters

$index
public BizStation\Transactd\Bookmark
# bookmarks( integer $index )

Parameters

$index

Returns

BizStation\Transactd\Bookmark
public
# clearBuffer( integer $resetType = table_defaultNull )

Parameters

$resetType
public integer
# getRecordHash( )

Returns

integer
public
# smartUpdate( )
public integer
# seekKeyValue( mixed $kv1 = null, mixed $kv2 = null, mixed $kv3 = null, mixed $kv4 = null, mixed $kv5 = null, mixed $kv6 = null, mixed $kv7 = null, mixed $kv8 = null )

Parameters

$kv1
$kv2
$kv3
$kv4
$kv5
$kv6
$kv7
$kv8

Returns

integer
public mixed
# findAll( integer $type = null )

Parameters

$type

Returns

mixed
The result set in the type specified by the $this->fetchMode
public
# find( integer $type = null )

Parameters

$type
public
# findFirst( )
public
# findLast( )
public
# findNext( boolean $notIncCurrent = true )

Parameters

$notIncCurrent
public
# findPrev( boolean $notIncCurrent = true )

Parameters

$notIncCurrent
public integer
# statReasonOfFind( )

Returns

integer
public integer
# lastFindDirection( )

Returns

integer
public BizStation\Transactd\Bookmark
# bookmarkFindCurrent( )

Returns

BizStation\Transactd\Bookmark
public
# setFilter( string $str, integer $rejectCount, integer $cacheCount, boolean $autoEscape = true )

Parameters

$str
$rejectCount
$cacheCount
$autoEscape
public integer
# fieldNumByName( string $name )

Parameters

$name

Returns

integer
public integer
# getFVbyt( integer|string $index_or_fieldName )

Parameters

$index_or_fieldName

Returns

integer
public integer
# getFVsht( integer|string $index_or_fieldName )

Parameters

$index_or_fieldName

Returns

integer
public integer
# getFVint( integer|string $index_or_fieldName )

Parameters

$index_or_fieldName

Returns

integer
public integer
# getFVlng( integer|string $index_or_fieldName )

Parameters

$index_or_fieldName

Returns

integer
public integer|string
# getFV64( integer|string $index_or_fieldName )

Parameters

$index_or_fieldName

Returns

integer|string
public float
# getFVflt( integer|string $index_or_fieldName )

Parameters

$index_or_fieldName

Returns

float
public float
# getFVdbl( integer|string $index_or_fieldName )

Parameters

$index_or_fieldName

Returns

float
public boolean
# getFVNull( integer|string $index_or_fieldName )

Parameters

$index_or_fieldName

Returns

boolean
public
# setFVNull( integer|string $index_or_fieldName, boolean $v )

Parameters

$index_or_fieldName
$v
public string
# getFVstr( integer|string $index_or_fieldName )

Parameters

$index_or_fieldName

Returns

string
public BizStation\Transactd\Record|array|object
# fields( )

Returns

BizStation\Transactd\Record|array|object
The record in the type specified by the $this->fetchMode
public BizStation\Transactd\Record|array|object
# getRow( )

Returns

BizStation\Transactd\Record|array|object
The record in the type specified by the $this->fetchMode
public BizStation\Transactd\Record
# getRecord( )

Returns

BizStation\Transactd\Record
public
# setFV( $index_or_fieldName, $data, $size = null )
public string
# getFVbin( integer|string $index_or_fieldName )

Parameters

$index_or_fieldName

Returns

string
public string
# keyValueDescription( )

Returns

string
public BizStation\Transactd\PreparedQuery
# prepare( BizStation\Transactd\QueryBase $q, boolean $serverPrepare = false )

Parameters

$q
$serverPrepare

Returns

BizStation\Transactd\PreparedQuery
public BizStation\Transactd\PreparedQuery
# setQuery( BizStation\Transactd\QueryBase $q, boolean $serverPrepare = false )

Parameters

$q
$serverPrepare

Returns

BizStation\Transactd\PreparedQuery
public
# setPrepare( BizStation\Transactd\PreparedQuery $q )

Parameters

$q
public BizStation\Transactd\Bitset
# getFVBits( integer|string $index_or_fieldName )

Parameters

$index_or_fieldName

Returns

BizStation\Transactd\Bitset
public
# setAlias( $orign, $alias )
public boolean
# insertByObject( object $obj, boolean $ncc = false )

Parameters

$obj
$ncc
No currency change.

Returns

boolean
public boolean
# readByObject( object $obj, null|integer $keyNum = null )

Parameters

$obj
$keyNum
null : It is used primary key automatically. int : key number

Returns

boolean
public boolean
# updateByObject( object $obj, boolean $updateType = Nstable::changeInKey )

Parameters

$obj
$updateType

When you specify the 'changeInKey', It is used primary key automatically. Other wise, it is not changed key number.

Returns

boolean
public boolean
# deleteByObject( object $obj, boolean $inKey = true )

Parameters

$obj
$inKey

When you specify true, It is used primary key automatically. Other wise, it is not changed key number.

Returns

boolean
public integer
# saveByObject( object $obj )

Parameters

$obj

Returns

integer

0: Error. For more information can be get by stat(). 2: Success by insert. 3: Success by update.

public
# release( )

Methods inherited from BizStation\Transactd\Nstable

abortBulkInsert(), beginBulkInsert(), bookmark(), bookmarkLen(), canDelete(), canInsert(), canRead(), canWrite(), clearOwnerName(), close(), commitBulkInsert(), createIndex(), datalen(), del(), dropIndex(), existsFile(), getCreateSql(), getDirURI(), getFileName(), getPercentage(), getWriteImageLen(), insert(), isOpen(), isUseTransactd(), keyNum(), mode(), nsdb(), recordCount(), recordLength(), seek(), seekByBookmark(), seekByPercentage(), seekFirst(), seekGreater(), seekLast(), seekLessThan(), seekNext(), seekPrev(), setAccessRights(), setKeyNum(), setOwnerName(), setTableid(), setTimestampMode(), setUpdateConflictCheck(), stat(), statMsg(), stats(), stepFirst(), stepLast(), stepNext(), stepPrev(), tableid(), unlock(), update(), updateConflictCheck()

Constants summary

integer clearNull
# 0
integer defaultNull
# table_defaultNull

Constants inherited from BizStation\Transactd\Nstable

changeCurrentCc, changeCurrentNcc, changeInKey, findBackForword, findContinue, findForword, inkey

Properties summary

public string $fetchMode
# transactd::FETCH_RECORD_INTO
public string $fetchClass
# 'stdClass'
public $ctorArgs
# null
public $cPtr
# null
Transactd API for PHP API documentation generated by ApiGen