Exponential Basic 2.4.0.1 Exponential Basic CMS — PHP Class Reference

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

## Public Member Functions
| __construct ( $id=-1)
| store ()
| delete ()
| get ( $id=-1)
| fill (&$user_array)
| id ()
| log ()
| setLog ( $value)
& | created ()

## Public Attributes
| $ID
| $Log
| $Created

## Detailed Description

! eZTodo eZTodoLog handles logs.

Example code:

Definition at line 41 of file eztodolog.php.

## Constructor & Destructor Documentation

## ◆ __construct()

eZTodoLog::__construct | ( |  | $id = `-1` | ) |

constructor

Definition at line 46 of file eztodolog.php.

References $id, and $ID.

## Member Function Documentation

## ◆ created()

& eZTodoLog::created | ( |  | ) |

Returns the creation time of the log.

The time is returned as a eZDateTime object.

Definition at line 170 of file eztodolog.php.

References $dateTime.

## ◆ delete()

eZTodoLog::delete | ( |  | ) |

Deletes a eZTodoLog object from the database.

Definition at line 90 of file eztodolog.php.

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

## ◆ fill()

eZTodoLog::fill | ( | & | $user_array | ) |

Fills in information to the object taken from the array.

Definition at line 133 of file eztodolog.php.

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

Referenced by get().

## ◆ get()

eZTodoLog::get | ( |  | $id = `-1` | ) |

Fetches the object information from the database.

True is retuned if successful, false (0) if not.

Definition at line 108 of file eztodolog.php.

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

## ◆ id()

eZTodoLog::id | ( |  | ) |

Returns the object id.

Definition at line 144 of file eztodolog.php.

References $ID.

## ◆ log()

eZTodoLog::log | ( |  | ) |

Returns the log

Definition at line 152 of file eztodolog.php.

References $Log.

## ◆ setLog()

eZTodoLog::setLog | ( |  | $value | ) |

Sets the log.

Definition at line 160 of file eztodolog.php.

## ◆ store()

eZTodoLog::store | ( |  | ) |

Stores or updates a eZTodoLog object in the database.

Definition at line 58 of file eztodolog.php.

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

## Member Data Documentation

## ◆ $Created

eZTodoLog::$Created

Definition at line 180 of file eztodolog.php.

## ◆ $ID

eZTodoLog::$ID

Definition at line 178 of file eztodolog.php.

Referenced by __construct(), id(), and store().

## ◆ $Log

eZTodoLog::$Log

Definition at line 179 of file eztodolog.php.

Referenced by log().

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

- eztodolog.php

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