Forums / Developer / Custom Database Tables

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Custom Database Tables

Author Message

Raghu Rao

Monday 01 November 2010 4:02:57 pm

Hi there,

I have been asked to create a resource sharing system (the resource could be as simple as an article) for which i need to track the progress of the article. This involves who was the first creator, who the resource got shared with, weather the new user copied the resource etc etc. My main question is,

1. is it possible to create custom database tables in Exponential

2. If its possible, how

Thanks in advance :-)

Cheers

RD

Jean-Luc Nguyen

Tuesday 09 November 2010 9:04:19 am

Hi,

Yes you can create and use custom tables in Exponential.
In a "classes" subdirectory, you will create your helloWorld PHP class for a hello_world table.
Your PHP class will extends Exponential "default used class", like:
class helloWorld extends eZPersistentObject
{
function definition() ...
}

http://www.acidre.com