Model/Mongo.php
- package
- Model
- Classes
- Kwf_Model_Mongo
Description
- Extends from
- \Kwf_Model_Abstract
- package
- Model
-
Properties
- $_collection
- $_data
- $_rowClass
-
Methods
- __construct
- _getOwnColumns
- _init
- childModelRowUpdated
- countRows
- delete
- deleteRows
- dependentModelRowUpdated
- getCollection
- getData
- getIds
- getPrimaryKey
- getRow
- getRowByDataKey
- getRows
- hasColumn
- import
- insert
- update
Description
Properties
\MongoCollection $_collection = ''
Details
- \MongoCollection
- visibility
- protected
- default
- final
- false
- static
- false
$_data = 'array'
Details
- visibility
- protected
- default
- array
- final
- false
- static
- false
$_rowClass = 'Kwf_Model_Mongo_Row'
Details
- visibility
- protected
- default
- Kwf_Model_Mongo_Row
- final
- false
- static
- false
Methods
__construct(
$config
=
array
)
:
Details
- visibility
- public
- final
- false
- static
- false
_getOwnColumns(
)
:
Details
- visibility
- protected
- final
- false
- static
- false
_init(
)
:
Details
- visibility
- protected
- final
- false
- static
- false
childModelRowUpdated(
$row, $action
)
:
Details
- visibility
- public
- final
- false
- static
- false
countRows(
$where
=
array
)
:
Details
- visibility
- public
- final
- false
- static
- false
delete(
$row
)
:
Details
- visibility
- public
- final
- false
- static
- false
deleteRows(
$where
)
:
Details
- visibility
- public
- final
- false
- static
- false
dependentModelRowUpdated(
$row, $action
)
:
Details
- visibility
- public
- final
- false
- static
- false
getCollection(
)
:
Details
- visibility
- public
- final
- false
- static
- false
getData(
)
:
Details
- visibility
- public
- final
- false
- static
- false
getIds(
$where
=
null, $order
=
null, $limit
=
null, $start
=
null
)
:
Arguments
- $where
- $order
- $limit
- $start
Details
- visibility
- public
- final
- false
- static
- false
getPrimaryKey(
)
:
Details
- visibility
- public
- final
- false
- static
- false
getRowByDataKey(
$key
)
:
Details
- visibility
- public
- final
- false
- static
- false
getRows(
$where
=
null, $order
=
null, $limit
=
null, $start
=
null
)
:
Arguments
- $where
- $order
- $limit
- $start
Details
- visibility
- public
- final
- false
- static
- false
hasColumn(
$c
)
:
Details
- visibility
- public
- final
- false
- static
- false
import(
$format, $data, $options
=
array
)
:
Arguments
- $format
- $data
- $options
Details
- visibility
- public
- final
- false
- static
- false
insert(
$row, $rowData
)
:
Details
- visibility
- public
- final
- false
- static
- false
update(
$row, $rowData
)
:
Details
- visibility
- public
- final
- false
- static
- false