Model/Interface.php

Interfaces
package
Model
subpackage
Interface
Interfaces
Kwf_Model_Interface

Description

\Kwf_Model_Interface

package
Model
subpackage
Interface
Constants
FORMAT_ARRAY
FORMAT_CSV
FORMAT_SQL
TYPE_BOOLEAN
TYPE_DATE
TYPE_DATETIME
TYPE_FLOAT
TYPE_INTEGER
TYPE_STRING
Methods
callMultiple
copyDataFromModel
countRows
createRow
deleteRows
export
fetchAll
fetchColumnByPrimaryId
fetchColumnsByPrimaryId
fetchCount
find
getColumnMapping
getColumnMappings
getColumnType
getColumns
getEventSubscribers
getExprValue
getIds
getPrimaryKey
getRow
getRows
getSiblingModels
getSupportedImportExportFormats
getUniqueIdentifier
hasColumn
import
insertRow
isEqual
select
setDefault
updateRow
updateRows
writeBuffer

Description

Constants

FORMAT_SQL
 FORMAT_SQL = 'sql'

Details

value
sql
FORMAT_ARRAY
 FORMAT_ARRAY = 'array'

Details

value
array
FORMAT_CSV
 FORMAT_CSV = 'csv'

Details

value
csv
TYPE_BOOLEAN
 TYPE_BOOLEAN = 'boolean'

Details

value
boolean
TYPE_INTEGER
 TYPE_INTEGER = 'int'

Details

value
int
TYPE_STRING
 TYPE_STRING = 'string'

Details

value
string
TYPE_FLOAT
 TYPE_FLOAT = 'float'

Details

value
float
TYPE_DATE
 TYPE_DATE = 'date'

Details

value
date
TYPE_DATETIME
 TYPE_DATETIME = 'datetime'

Details

value
datetime

Methods

callMultiple

callMultiple(  $call ) :
Arguments
$call
Details
visibility
public
final
false
static
false

copyDataFromModel

copyDataFromModel(  $sourceModel,  $select = null,  $importOptions = array ) :
Arguments
$sourceModel
$select
$importOptions
Details
visibility
public
final
false
static
false

countRows

countRows(  $where = array ) :
Arguments
$where
Details
visibility
public
final
false
static
false

createRow

createRow(  $data = array ) : \Kwf_Model_Row_Interface

Arguments
$data
Details
visibility
public
final
false
static
false

deleteRows

deleteRows(  $where ) :
Arguments
$where
Details
visibility
public
final
false
static
false

export

export(  $format,  $select = array,  $options = array ) :
Arguments
$format
$select
$options
Details
visibility
public
final
false
static
false

fetchAll

fetchAll(  $where = null,  $order = null,  $limit = null,  $start = null ) :
Arguments
$where
$order
$limit
$start
Details
visibility
public
final
false
static
false

fetchColumnByPrimaryId

fetchColumnByPrimaryId(  $column,  $id ) :
Arguments
$column
$id
Details
visibility
public
final
false
static
false

fetchColumnsByPrimaryId

fetchColumnsByPrimaryId(  $columns,  $id ) :
Arguments
$columns
$id
Details
visibility
public
final
false
static
false

fetchCount

fetchCount(  $where = array ) :
Arguments
$where
Details
visibility
public
final
false
static
false

find

find(  $id ) :
Arguments
$id
Details
visibility
public
final
false
static
false

getColumnMapping

getColumnMapping(  $mapping,  $column ) :
Arguments
$mapping
$column
Details
visibility
public
final
false
static
false

getColumnMappings

getColumnMappings(  $mapping ) :
Arguments
$mapping
Details
visibility
public
final
false
static
false

getColumnType

getColumnType(  $col ) :
Arguments
$col
Details
visibility
public
final
false
static
false

getColumns

getColumns( ) :
Details
visibility
public
final
false
static
false

getEventSubscribers

getEventSubscribers( ) :
Details
visibility
public
final
false
static
false

getExprValue

getExprValue(  $row,  $name ) :
Arguments
$row
$name
Details
visibility
public
final
false
static
false

getIds

getIds(  $where = null,  $order = null,  $limit = null,  $start = null ) :
Arguments
$where
$order
$limit
$start
Details
visibility
public
final
false
static
false

getPrimaryKey

getPrimaryKey( ) :
Details
visibility
public
final
false
static
false

getRow

getRow(  $id ) : \Kwf_Model_Row_Interface

Arguments
$id
Details
visibility
public
final
false
static
false

getRows

getRows(  $where = null,  $order = null,  $limit = null,  $start = null ) :
Arguments
$where
$order
$limit
$start
Details
visibility
public
final
false
static
false

getSiblingModels

getSiblingModels( ) :
Details
visibility
public
final
false
static
false

getSupportedImportExportFormats

getSupportedImportExportFormats( ) :
Details
visibility
public
final
false
static
false

getUniqueIdentifier

getUniqueIdentifier( ) : string

Output
string
Details
visibility
public
final
false
static
false

hasColumn

hasColumn(  $col ) :
Arguments
$col
Details
visibility
public
final
false
static
false

import

import(  $format,  $data,  $options = array ) :
Arguments
$format
$data
$options
Details
visibility
public
final
false
static
false

insertRow

insertRow(  $data ) :
Arguments
$data
Details
visibility
public
final
false
static
false

isEqual

isEqual(  $other ) :
Arguments
$other
Details
visibility
public
final
false
static
false

select

select(  $where = array ) : \Kwf_Model_Select

Arguments
$where
Details
visibility
public
final
false
static
false

setDefault

setDefault(  $default ) :
Arguments
$default
Details
visibility
public
final
false
static
false

updateRow

updateRow(  $data ) :
Arguments
$data
Details
visibility
public
final
false
static
false

updateRows

updateRows(  $data,  $where ) :
Arguments
$data
$where
Details
visibility
public
final
false
static
false

writeBuffer

writeBuffer( ) :
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox 0.12.3.