kernel/classes/ezorder.php

Show: inherited
Table of Contents

File containing the eZOrder 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  

\eZOrder

Package: kernel

File containing the eZOrder 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

Constant  SHOW_NORMAL = 0
Constant  SHOW_ARCHIVED = 1
Constant  SHOW_ALL = 2

Properties

Propertypublic  $PersistentDataDirty= ''
Details
Type
n/a
Inherited_from
\eZPersistentObject::$$PersistentDataDirty  
Propertypublic  $Status= ''
Details
Type
n/a

Methods

methodpublicaccountEmail( ) : void

methodpublicaccountInformation( ) : void

methodpublicaccountName( ) : void

methodpublicaccountViewTemplate( ) : void

methodpublicactivate( ) : void

methodpublicactive(  $asObject = true,  $offset,  $limit,  $sortField = "created",  $sortOrder = "asc",  $show = eZOrder::SHOW_NORMAL ) : void
static

Parameters
Name Type Description
$asObject
$offset
$limit
$sortField
$sortOrder
$show
methodpublicactiveByUserID(  $userID,  $asObject = true ) : void
static

Parameters
Name Type Description
$userID
$asObject
methodpublicactiveCount(  $show = eZOrder::SHOW_NORMAL ) : void
static

Parameters
Name Type Description
$show
methodpublicarchiveOrder(  $orderID ) : void
static

Parameters
Name Type Description
$orderID
methodpublicattribute(  $attr,  $noFunction = false ) : void
inherited

Inherited from: \eZPersistentObject::attribute()
Parameters
Name Type Description
$attr
$noFunction
methodpublicattributes( ) : void
inherited

Inherited from: \eZPersistentObject::attributes()
methodpubliccanModifyStatus(  $statusID,  $user = false ) : void

Parameters
Name Type Description
$statusID
$user
methodpubliccleanup( ) : void
static

methodpubliccleanupOrder(  $orderID ) : void
static

Parameters
Name Type Description
$orderID
methodpublicconditionText(  $conditions ) : void
staticinherited

Inherited from: \eZPersistentObject::conditionText()
Parameters
Name Type Description
$conditions
methodpublicconditionTextByRow(  $conditions,  $row ) : void
staticinherited

Inherited from: \eZPersistentObject::conditionTextByRow()
Parameters
Name Type Description
$conditions
$row
methodpubliccount(  $def,  $conds = null,  $field = null ) : void
staticinherited

Inherited from: \eZPersistentObject::count()
Parameters
Name Type Description
$def
$conds
$field
methodpubliccreateStatusHistory( ) : void

methodpubliccurrencyCode(  $collection = false ) : void

Parameters
Name Type Description
$collection
methodpubliccustomerCount( ) : void
static

methodpubliccustomerList(  $offset,  $limit ) : void
static

Parameters
Name Type Description
$offset
$limit
methodpublicdefinition( ) : void
static

methodpublicdetachProductCollection( ) : void

methodpublicdiscount(  $userID,  $object ) : void
static

Parameters
Name Type Description
$userID
$object
methodpubliceZOrder(  $row ) : void

Parameters
Name Type Description
$row
methodpubliceZPersistentObject(  $row ) : void
inherited

Inherited from: \eZPersistentObject::eZPersistentObject()
Parameters
Name Type Description
$row
methodpublicescapeArray(  $array ) : void
staticinherited

Inherited from: \eZPersistentObject::escapeArray()
Parameters
Name Type Description
$array
methodpublicfetch(  $id,  $asObject = true ) : void
static

Parameters
Name Type Description
$id
$asObject
methodpublicfetchList(  $asObject = true ) : void
static

Parameters
Name Type Description
$asObject
methodpublicfetchLocaleCurrencyCode( ) : void
static

methodpublicfetchObject(  $def,  $field_filters,  $conds,  $asObject = true,  $grouping = null,  $custom_fields = null ) : void
staticinherited

Inherited from: \eZPersistentObject::fetchObject()
Parameters
Name Type Description
$def
$field_filters
$conds
$asObject
$grouping
$custom_fields
methodpublicfetchObjectList(  $def,  $field_filters = null,  $conds = null,  $sorts = null,  $limit = null,  $asObject = true,  $grouping = false,  $custom_fields = null,  $custom_tables = null,  $custom_conds = null ) : void
staticinherited

Inherited from: \eZPersistentObject::fetchObjectList()
Parameters
Name Type Description
$def
$field_filters
$conds
$sorts
$limit
$asObject
$grouping
$custom_fields
$custom_tables
$custom_conds
methodpublicfill(  $row ) : void
inherited

Inherited from: \eZPersistentObject::fill()
Parameters
Name Type Description
$row
methodpublicgetNewID( ) : int

Get a new auto_increment id from a separate table ezorder_nr_incr.

Returns
Type Description
int the inserted id
methodpublicgetShortAttributeName(  $db,  $def,  $attrName ) : void
staticinherited

Inherited from: \eZPersistentObject::getShortAttributeName()
Parameters
Name Type Description
$db
$def
$attrName
methodpublicgetShowOrdersQuery(  $show,  $table = null ) : void
static

Parameters
Name Type Description
$show
$table
methodpublichandleRows(  $rows,  $class_name,  $asObject ) : void
staticinherited

Inherited from: \eZPersistentObject::handleRows()
Parameters
Name Type Description
$rows
$class_name
$asObject
methodpublichasAttribute(  $attr ) : void
inherited

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

Inherited from: \eZPersistentObject::hasDirtyData()
methodpublicmodifyStatus(  $statusID,  $userID = false ) : void

Parameters
Name Type Description
$statusID
$userID
methodpublicnewObjectOrder(  $def,  $orderField,  $conditions ) : void
staticinherited

Inherited from: \eZPersistentObject::newObjectOrder()
Parameters
Name Type Description
$def
$orderField
$conditions
methodpublicorderInfo( ) : void

methodpublicorderItems( ) : void

methodpublicorderItemsByType(  $itemType ) : void

Parameters
Name Type Description
$itemType
methodpublicorderList(  $CustomID,  $Email ) : void
static

Parameters
Name Type Description
$CustomID
$Email
methodpublicorderStatistics(  $year = false,  $month = false ) : void
static

Parameters
Name Type Description
$year
$month
methodpublicorderTotalExVAT( ) : void

methodpublicorderTotalIncVAT( ) : void

methodpublicproductCollection( ) : void

methodpublicproductItems( bool $asObject = true, array | null $sorts = null ) : void

Fetch product items that bellongs ot the order

Parameters
Name Type Description
$asObject bool
$sorts array | null

Array with sort data sent directly to {@link eZPersistentObject::fetchObjectList()}

methodpublicproductItemsOrdered( bool $asObject = true, bool $order = true ) : void

Fetch product items ordered by id ( the order they where added to order )

Parameters
Name Type Description
$asObject bool
$order bool

True (default) for ascending[0->9] and false for decending[9->0]

methodpublicproductList(  $CustomID,  $Email ) : void
static

Parameters
Name Type Description
$CustomID
$Email
methodpublicproductTotalExVAT( ) : void

methodpublicproductTotalIncVAT( ) : void

methodpublicpurge(  $removeCollection = true ) : void

Parameters
Name Type Description
$removeCollection
methodpublicremove(  $conditions = null,  $extraConditions = null ) : void
inherited

Inherited from: \eZPersistentObject::remove()
Parameters
Name Type Description
$conditions
$extraConditions
methodpublicremoveCollection( ) : void

methodpublicremoveHistory( ) : void

methodpublicremoveItem(  $itemID ) : void
static

Parameters
Name Type Description
$itemID
methodpublicremoveObject(  $def,  $conditions = null,  $extraConditions = null ) : void
staticinherited

Inherited from: \eZPersistentObject::removeObject()
Parameters
Name Type Description
$def
$conditions
$extraConditions
methodpublicremoveOrderItems( ) : void

methodpublicreorderObject(  $def,  $orderField,  $conditions,  $down = true ) : void
staticinherited

Inherited from: \eZPersistentObject::reorderObject()
Parameters
Name Type Description
$def
$orderField
$conditions
$down
methodpublicreplaceFieldsWithShortNames(  $db,  $fieldDefs,  $fields ) : void
staticinherited

Inherited from: \eZPersistentObject::replaceFieldsWithShortNames()
Parameters
Name Type Description
$db
$fieldDefs
$fields
methodpublicsetAttribute(  $attr,  $val ) : void
inherited

Inherited from: \eZPersistentObject::setAttribute()
Parameters
Name Type Description
$attr
$val
methodpublicsetHasDirtyData(  $hasDirtyData ) : void
inherited

Inherited from: \eZPersistentObject::setHasDirtyData()
Parameters
Name Type Description
$hasDirtyData
methodpublicsetStatus(  $status ) : void

Parameters
Name Type Description
$status
methodpublicsetStatusModified(  $timestamp ) : void

Parameters
Name Type Description
$timestamp
methodpublicstatus(  $asObject = false ) : void

Parameters
Name Type Description
$asObject
methodpublicstatusModificationList(  $user = false ) : void

Parameters
Name Type Description
$user
methodpublicstatusName( ) : void

methodpublicstatusObject( ) : void

methodpublicstore(  $fieldFilters = null ) : void
inherited

Inherited from: \eZPersistentObject::store()
Parameters
Name Type Description
$fieldFilters
methodpublicstoreObject(  $obj,  $fieldFilters = null ) : void
staticinherited

Inherited from: \eZPersistentObject::storeObject()
Parameters
Name Type Description
$obj
$fieldFilters
methodpublicswapRow(  $table,  $keys,  $order_id,  $rows,  $id1,  $id2 ) : void
staticinherited

Inherited from: \eZPersistentObject::swapRow()
Parameters
Name Type Description
$table
$keys
$order_id
$rows
$id1
$id2
methodpublicsync(  $fieldFilters = null ) : void
inherited

Inherited from: \eZPersistentObject::sync()
Parameters
Name Type Description
$fieldFilters
methodpublictotalExVAT( ) : void

methodpublictotalIncVAT( ) : void

methodpublictotalVAT( ) : void

methodpublicunArchiveOrder(  $orderID ) : void
static

Parameters
Name Type Description
$orderID
methodpublicupdateObjectList(  $parameters ) : void
staticinherited

Inherited from: \eZPersistentObject::updateObjectList()
Parameters
Name Type Description
$parameters
methodpublicuser( ) : void

Documentation was generated by DocBlox 0.18.1.