kernel/classes/ezrssexport.php
File containing the eZRSSExport 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
\eZRSSExport
Package: kernel
Parameters
Returns
Details
Returns
Details
File containing the eZRSSExport 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 |

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(
$id, $asObject
=
true, $status
=
eZRSSExport::STATUS_VALID
)
:
void
static
Parameters
| Name | Type | Description |
|---|---|---|
| $id | ||
| $asObject | ||
| $status |

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

fetchItems(
$id
=
false, $status
=
eZRSSExport::STATUS_VALID
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $id | ||
| $status |

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 |

fetchRSS1_0(
)
:
\DomDocumentGet a RSS xml document based on the RSS 1.0 standard based on the RSS Export settings defined by this object
Returns
Details
| Type | Description |
|---|---|
| \DomDocument | RSS 1.0 XML document |
- Deprecated
- since 4.2

fetchRSS2_0(
)
:
stringGet a RSS xml document based on the RSS 2.0 standard based on the RSS Export settings defined by this object
Returns
Details
| Type | Description |
|---|---|
| string | RSS 2.0 XML document |
- Deprecated
- since 4.2

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

generateFeed(
string $type
)
:
stringGenerates an RSS feed document with type $type and returns it as a string.
It uses the Feed component from eZ Components.
Supported types: 'rss1', 'rss2', 'atom'.
| Name | Type | Description |
|---|---|---|
| $type | string | One of 'rss1', 'rss2' and 'atom' |
| Type | Description |
|---|---|
| string | XML document as a string |
- Since
- 4.2

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 |

remove(
$conditions
=
null, $extraConditions
=
null
)
:
void
inherited
Inherited from:
\eZPersistentObject::remove()
Parameters
| Name | Type | Description |
|---|---|---|
| $conditions | ||
| $extraConditions |

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 |

rssXml(
)
:
\DomDocumentGenerates an RSS feed document based on the rss_version attribute.
Returns
Details
| Type | Description |
|---|---|
| \DomDocument | XML document |
- Deprecated
- since 4.2

rssXmlContent(
)
:
stringGenerates an RSS feed document based on the rss_version attribute.
It uses the Feed component from eZ Components.
Supported types: 'rss1', 'rss2', 'atom'.
| Type | Description |
|---|---|
| string | XML document as a string |
- Since
- 4.2

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 |

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 |