Exponential Basic 2.4.0.1 Exponential Basic CMS — PHP Class Reference

Public Member Functions | Public Attributes | List of all members
eZOrderStatusType Class Reference

## Public Member Functions
| __construct ( $id="")
| store ()
| get ( $id="")
| getAll ()
| id ()
| name ()
| setName ( $value)
| getByName ( $name)

## Public Attributes
| $ID
| $Name

## Detailed Description

! eZTrade eZOrderStatusType handles order status types.

See also
  eZOrder eZOrderStatus

TODO Add documentation.

Definition at line 43 of file ezorderstatustype.php.

## Constructor & Destructor Documentation

## ◆ __construct()

eZOrderStatusType::__construct | ( |  | $id = `""` | ) |

Constructs a new eZOrder object.

If $id is set the object's values are fetched from the database.

Definition at line 51 of file ezorderstatustype.php.

References $id, and $ID.

## Member Function Documentation

## ◆ get()

eZOrderStatusType::get | ( |  | $id = `""` | ) |

Fetches the object information from the database.

Definition at line 105 of file ezorderstatustype.php.

References $db, $id, $ret, eZDB\globalDatabase(), and Name.

## ◆ getAll()

eZOrderStatusType::getAll | ( |  | ) |

Fetches every status type and returns them as an array of eZOrderStatusType objects.

Definition at line 133 of file ezorderstatustype.php.

References $db, $ret, and eZDB\globalDatabase().

## ◆ getByName()

eZOrderStatusType::getByName | ( |  | $name | ) |

Returns the eZOrderStatusObject to the status matching name given as argument. false is returned if none is found.

Definition at line 175 of file ezorderstatustype.php.

References $db, $ret, and eZDB\globalDatabase().

## ◆ id()

eZOrderStatusType::id | ( |  | ) |

Returns the object id.

Definition at line 150 of file ezorderstatustype.php.

References $ID.

## ◆ name()

eZOrderStatusType::name | ( |  | ) |

Returns the name of the status type.

Definition at line 158 of file ezorderstatustype.php.

References $Name.

## ◆ setName()

eZOrderStatusType::setName | ( |  | $value | ) |

Sets the status type name

Definition at line 166 of file ezorderstatustype.php.

References Name.

## ◆ store()

eZOrderStatusType::store | ( |  | ) |

Stores a order status to the database.

Returns
  true if successful, false if not

Definition at line 64 of file ezorderstatustype.php.

References $db, $res, $ret, eZDB\finish(), eZDB\globalDatabase(), and Name.

## Member Data Documentation

## ◆ $ID

eZOrderStatusType::$ID

Definition at line 193 of file ezorderstatustype.php.

Referenced by __construct(), and id().

## ◆ $Name

eZOrderStatusType::$Name

Definition at line 194 of file ezorderstatustype.php.

Referenced by name().

The documentation for this class was generated from the following file:

- ezorderstatustype.php

Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.