Friday 11 February 2011 10:59:46 pm
Hi Dhaval,
Do you wish to create a content class or a php class ? If you want to create a content class, you must go to backend administration and copy an existent content class (article, event, ...). Then, you will be able to edit your content class to add fields (text field, email, xml text, object relation ...) If you want to create a php class, you can do it in making your own extension and declare your new class in "classes" folder of your extension. Then, when your php class is written, you regenerate autoload array to use your class. Is this explanation helps you?
--
Developer at Open Wide
|