kernel/classes/eznodeassignment.php
File containing the eZNodeAssignment class.
- Copyright
- Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.
- License
- eZ Business Use License Agreement Version 2.0
- Package
- kernel
- Version
- 4.6.0
\eZNodeAssignment
Package: kernel
File containing the eZNodeAssignment class.
- Parent(s)
- \eZPersistentObject
- Copyright
- Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.
- License
- eZ Business Use License Agreement Version 2.0
- Version
- 4.6.0
Constants
Properties

$PersistentDataDirty= ''
inheritedInherited from:
\eZPersistentObject::$$PersistentDataDirty
Details
- Type
- n/a
- Inherited_from
- \eZPersistentObject::$$PersistentDataDirty
Methods

attribute(
$attr, $noFunction
=
false
)
:
void
inherited
Inherited from:
\eZPersistentObject::attribute()
Parameters
| Name | Type | Description |
|---|---|---|
| $attr | ||
| $noFunction |

cloneNodeAssignment(
$nextVersionNumber
=
1, $contentObjectID
=
false
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $nextVersionNumber | ||
| $contentObjectID |

count(
$def, $conds
=
null, $field
=
null
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $def | ||
| $conds | ||
| $field |

eZPersistentObject(
$row
)
:
void
inherited
Inherited from:
\eZPersistentObject::eZPersistentObject()
Parameters
| Name | Type | Description |
|---|---|---|
| $row |

fetch(
$contentObjectID, $version
=
1, $parentNode
=
0, $asObject
=
true
)
:
void
static
Parameters
| Name | Type | Description |
|---|---|---|
| $contentObjectID | ||
| $version | ||
| $parentNode | ||
| $asObject |

fetchChildCountByVersionStatus(
array $parentNodeIDList, int $status
=
eZContentObjectVersion::STATUS_PENDING
)
:
int
static
Fetch node assignment count by version status, giving parent node id list.
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $parentNodeIDList | array | |
| $status | int |
| Type | Description |
|---|---|
| int |

fetchChildListByVersionStatus(
$parentNodeIDList, int $status
=
eZContentObjectVersion::STATUS_PENDING, boolean $asObject
=
true
)
:
array | int
static
Fetch node assignment list by version status, giving parent node id list.
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $parentNodeIDList | ||
| $status | int | status of the object version |
| $asObject | boolean | valid only when $count is false |
| Type | Description |
|---|---|
| array | int |

fetchForObject(
$contentObjectID, $version
=
1, $main
=
0, $asObject
=
true
)
:
void
static
Parameters
| Name | Type | Description |
|---|---|---|
| $contentObjectID | ||
| $version | ||
| $main | ||
| $asObject |

fetchListByID(
$idList, $asObject
=
true
)
:
void
static
Parameters
| Name | Type | Description |
|---|---|---|
| $idList | ||
| $asObject |

fetchObject(
$def, $field_filters, $conds, $asObject
=
true, $grouping
=
null, $custom_fields
=
null
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $def | ||
| $field_filters | ||
| $conds | ||
| $asObject | ||
| $grouping | ||
| $custom_fields |

fetchObjectList(
$def, $field_filters
=
null, $conds
=
null, $sorts
=
null, $limit
=
null, $asObject
=
true, $grouping
=
false, $custom_fields
=
null, $custom_tables
=
null, $custom_conds
=
null
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $def | ||
| $field_filters | ||
| $conds | ||
| $sorts | ||
| $limit | ||
| $asObject | ||
| $grouping | ||
| $custom_fields | ||
| $custom_tables | ||
| $custom_conds |

fill(
$row
)
:
void
inherited
Inherited from:
\eZPersistentObject::fill()
Parameters
| Name | Type | Description |
|---|---|---|
| $row |

getShortAttributeName(
$db, $def, $attrName
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $db | ||
| $def | ||
| $attrName |

handleRows(
$rows, $class_name, $asObject
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $rows | ||
| $class_name | ||
| $asObject |

hasAttribute(
$attr
)
:
void
inherited
Inherited from:
\eZPersistentObject::hasAttribute()
Parameters
| Name | Type | Description |
|---|---|---|
| $attr |

newObjectOrder(
$def, $orderField, $conditions
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $def | ||
| $orderField | ||
| $conditions |

purge(
$parentNodeID
=
false, $contentObjectID
=
false
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $parentNodeID | ||
| $contentObjectID |

remove(
$parentNodeID
=
false, $contentObjectID
=
false
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $parentNodeID | ||
| $contentObjectID |

removeObject(
$def, $conditions
=
null, $extraConditions
=
null
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $def | ||
| $conditions | ||
| $extraConditions |

reorderObject(
$def, $orderField, $conditions, $down
=
true
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $def | ||
| $orderField | ||
| $conditions | ||
| $down |

replaceFieldsWithShortNames(
$db, $fieldDefs, $fields
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $db | ||
| $fieldDefs | ||
| $fields |

setAttribute(
$attr, $val
)
:
void
inherited
Inherited from:
\eZPersistentObject::setAttribute()
Parameters
| Name | Type | Description |
|---|---|---|
| $attr | ||
| $val |

setHasDirtyData(
$hasDirtyData
)
:
void
inherited
Inherited from:
\eZPersistentObject::setHasDirtyData()
Parameters
| Name | Type | Description |
|---|---|---|
| $hasDirtyData |

setNewMainAssignment(
$objectID, $version
)
:
void
static
Parameters
| Name | Type | Description |
|---|---|---|
| $objectID | ||
| $version |

store(
$fieldFilters
=
null
)
:
void
inherited
Inherited from:
\eZPersistentObject::store()
Parameters
| Name | Type | Description |
|---|---|---|
| $fieldFilters |

storeObject(
$obj, $fieldFilters
=
null
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $obj | ||
| $fieldFilters |

swapRow(
$table, $keys, $order_id, $rows, $id1, $id2
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $table | ||
| $keys | ||
| $order_id | ||
| $rows | ||
| $id1 | ||
| $id2 |

sync(
$fieldFilters
=
null
)
:
void
inherited
Inherited from:
\eZPersistentObject::sync()
Parameters
| Name | Type | Description |
|---|---|---|
| $fieldFilters |