Model/Row/Abstract.php

Classes 
internal
package
Model
Classes
Kwf_Model_Row_Abstract

Description

\Kwf_Model_Row_Abstract

Implements
\Kwf_Model_Row_Interface
internal
package
Model
Properties
$_exprValues
$_model
$_siblingRows
Methods
__construct
__destruct
__get
__isset
__set
__toString
__unset
_afterDelete
_afterInsert
_afterSave
_afterUpdate
_beforeDelete
_beforeInsert
_beforeSave
_beforeSaveSiblingMaster
_beforeUpdate
_callObserver
_duplicateDependentModel
_getPrimaryKey
_getSiblingRows
_getSiblingRowsForSave
_init
_isDirty
_postSet
_resetDirty
_saveWithoutResetDirty
_setDirty
_toArrayWithoutPrimaryKeys
_transformColumnName
_updateFilters
countChildRows
createChildRow
delete
duplicate
forceSave
freeMemory
getByColumnMapping
getChildRows
getCleanValue
getDirtyColumns
getInternalId
getModel
getParentRow
getSiblingRow
getTable
hasColumn
isDirty
save
saveSkipFilters
serialize
setSiblingRows
toArray
toDebug
unserialize

Description

Properties

$_exprValues

 $_exprValues = 'array'

Details

visibility
protected
default
array
final
false
static
false

$_model

\Kwf_Model_Abstract $_model = ''

Details

\Kwf_Model_Abstract
visibility
protected
default
final
false
static
false

$_siblingRows

 $_siblingRows = ''

Details

visibility
protected
default
final
false
static
false

Methods

__construct

__construct(  $config ) :
Arguments
$config
Details
visibility
public
final
false
static
false

__destruct

__destruct( ) :
Details
visibility
public
final
false
static
false

__get

__get(  $name ) :
Arguments
$name
Details
visibility
public
final
false
static
false

__isset

__isset(  $name ) :
Arguments
$name
Details
visibility
public
final
false
static
false

__set

__set(  $name,  $value ) :
Arguments
$name
$value
Details
visibility
public
final
false
static
false

__toString

__toString( ) :
Details
visibility
public
final
false
static
false

__unset

__unset(  $name ) :
Arguments
$name
Details
visibility
public
final
false
static
false

_afterDelete

_afterDelete( ) :
Details
visibility
protected
final
false
static
false

_afterInsert

_afterInsert( ) :
Details
visibility
protected
final
false
static
false

_afterSave

_afterSave( ) :
Details
visibility
protected
final
false
static
false

_afterUpdate

_afterUpdate( ) :
Details
visibility
protected
final
false
static
false

_beforeDelete

_beforeDelete( ) :
Details
visibility
protected
final
false
static
false

_beforeInsert

_beforeInsert( ) :
Details
visibility
protected
final
false
static
false

_beforeSave

_beforeSave( ) :
Details
visibility
protected
final
false
static
false

_beforeSaveSiblingMaster

_beforeSaveSiblingMaster( ) :

Um in Model_Field vor dem speichern den wert setzen zu können

Details
visibility
protected
final
false
static
false

_beforeUpdate

_beforeUpdate( ) :
Details
visibility
protected
final
false
static
false

_callObserver

_callObserver(  $fn ) :
Arguments
$fn
Details
visibility
protected
final
false
static
false

_duplicateDependentModel

_duplicateDependentModel(  $newRow,  $rule,  $select = array ) :

Hilfsfunktion die von duplicate aufgerufen werden kann

Arguments
$newRow
$rule
$select
Details
visibility
protected
final
true
static
false

_getPrimaryKey

_getPrimaryKey( ) :
Details
visibility
protected
final
false
static
false

_getSiblingRows

_getSiblingRows( ) :
Details
visibility
protected
final
false
static
false

_getSiblingRowsForSave

_getSiblingRowsForSave( ) :

Nötig wenn man in einer Form Cards hat (jede Card mit eigener Form) und die Card-Forms als Sibling gespeichert werden. Da will man dann immer nur ein Sibling speichern (das von der ausgewählten Card), aber beim load() will man alle Siblings dabei haben. Wenn man dann diese Funktion überschreibt kann man nur ein Sibling zurückgeben und genau das wird dann beim speichern verwendet und beim load() wird _getSiblingRows() direkt verwendet.

Details
visibility
protected
final
false
static
false

_init

_init( ) :
Details
visibility
protected
final
false
static
false

_isDirty

_isDirty(  $column = null ) :

Ob die Row seblst dirty ist

Arguments
$column
Details
visibility
protected
final
false
static
false

_postSet

_postSet(  $name,  $value ) :
Arguments
$name
$value
Details
visibility
protected
final
false
static
false

_resetDirty

_resetDirty( ) :
Details
visibility
protected
final
false
static
false

_saveWithoutResetDirty

_saveWithoutResetDirty( ) :
Details
visibility
protected
final
false
static
false

_setDirty

_setDirty(  $column ) :
Arguments
$column
Details
visibility
protected
final
false
static
false

_toArrayWithoutPrimaryKeys

_toArrayWithoutPrimaryKeys( ) :
Details
visibility
protected
final
false
static
false

_transformColumnName

_transformColumnName(  $name ) :
Arguments
$name
Details
visibility
protected
final
false
static
false

_updateFilters

_updateFilters(  $filterAfterSave = false ) :
Arguments
$filterAfterSave
Details
visibility
protected
final
false
static
false

countChildRows

countChildRows(  $rule,  $select = array ) :
Arguments
$rule
$select
Details
visibility
public
final
false
static
false

createChildRow

createChildRow(  $rule,  $data = array ) :
Arguments
$rule
$data
Details
visibility
public
final
false
static
false

delete

delete( ) :
Details
visibility
public
final
false
static
false

duplicate

duplicate(  $data = array ) :
Arguments
$data
Details
visibility
public
final
false
static
false

forceSave

forceSave( ) :

Speichert in jedem Fall, auch wenn sich keine daten geändert haben.

Details
visibility
public
final
true
static
false

freeMemory

freeMemory( ) :

Details
visibility
public
final
false
static
false
internal

getByColumnMapping

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

getChildRows

getChildRows(  $rule,  $select = array ) :
Arguments
$rule
$select
Details
visibility
public
final
false
static
false

getCleanValue

getCleanValue(  $name ) :

Returns the original value of a column, like it exists in the data source.

After save() it will return the new value.

Arguments
$name
Details
visibility
public
final
false
static
false

getDirtyColumns

getDirtyColumns( ) :

dirty columns der row und der sibling rows

Details
visibility
public
final
false
static
false

getInternalId

getInternalId( ) :
Details
visibility
public
final
false
static
false

getModel

getModel( ) :
Details
visibility
public
final
false
static
false

getParentRow

getParentRow(  $rule ) :
Arguments
$rule
Details
visibility
public
final
false
static
false

getSiblingRow

getSiblingRow(  $rule ) :
Arguments
$rule
Details
visibility
public
final
false
static
false

getTable

getTable( ) :
Details
visibility
public
final
false
static
false

hasColumn

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

isDirty

isDirty(  $column = null ) :

Ob die Row oder eine sibling row dirty ist

Arguments
$column
Details
visibility
public
final
true
static
false

save

save( ) :
Details
visibility
public
final
false
static
false

saveSkipFilters

saveSkipFilters( ) :
Details
visibility
public
final
false
static
false

serialize

serialize( ) :
Details
visibility
public
final
false
static
false

setSiblingRows

setSiblingRows(  $rows ) :
Arguments
$rows
Details
visibility
public
final
false
static
false

toArray

toArray( ) :
Details
visibility
public
final
false
static
false

toDebug

toDebug( ) :
Details
visibility
public
final
false
static
false

unserialize

unserialize(  $str ) :
Arguments
$str
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox 0.12.3.