ImpressCMS proudly uses SourceForge
ImpressCMS on Ohloh.net
[This page]  
Tags: Development   Ipf  

ImpressCMS Persistable Framework

2 basic classes of IPF, IcmsPersistableObject and IcmsPersistableHandler: clear understanding of the differences between an object and its handler

IcmsPersistableObject

  • quickInitVar()
  • intitCommonVar()
  • id()
  • title()
  • getItemLink()
  • getAdminViewItemLink()
  • getEditItemLink()
  • getDeleteItemLink()
  • delete()
  • store()
  • setErrors()
  • hasError()
  • getHtmlErrors()
  • setControl()

Creating a form for an object using IcmsPersistableObject::getForm()

  • hide fields from form using $this->hideFieldFromForm()
  • display fields on form using $this->showFieldOnForm()
  • make field read only using $this->makeFieldReadOnly()
  • Storing an object in the database using IcmsPersistableController

IcmsPersistableObjectHandler

  • create()
  • get() and getD
  • getCount()
  • getObjects() and getObjectsD()
  • getList() and getListD()
  • getObjectsAsArray()
  • query()
  • addPermission()

Events triggering

  • beforeDelete
  • afterDelete
  • beforeSave
  • beforeInsert
  • beforeUpdate
  • afterSave
  • afterInsert
  • afterUpdate

Listing objects using IcmsPersistableTable

  • Displaying single object using IcmsPersistableSingleView
  • Using the IcmsPersistableRegsitry

Using IcmsPersistableExport

Last modified on 2014/8/29 by skenow
This page was created on 2010/11/11 by skenow
This page has been viewed 2368 time(s)

Comments
The comments are owned by the poster. We aren't responsible for their content.
ImpressCMS proudly uses SourceForge
ImpressCMS on Ohloh.net