Ticket #854 (closed task: fixed)

Opened 1 year ago

Last modified 5 months ago

Use of loadClass

Reported by: pablo Assigned to: jaws-bugs@lists.jaws-project.com
Priority: normal Milestone: 0.8.0
Component: Core / Application Version: SVN
Severity: normal Keywords:
Cc:

Description

The main idea is to 'drop' the JawsTypes? directory and move the classes we have there to include/ (so for example the JawsTypes/JawsDate? directory will be include/JawsDate).

The idea of writing a JawsApplication::loadClass method is to don't call (include|require)_once too many times (it makes many I/O calls), the loadClass method will use some kind of 'singleton-loader' which will check if class was already loaded before including/requiring it.

An example:

$jawsImage =& $GLOBALS['app']->loadClass('JawsImage'); 

Attachments

Change History

05/10/07 23:41:16 changed by pablo

What's the status of this ticket?

06/07/07 03:30:25 changed by pablo

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in SVN.


Add/Change #854 (Use of loadClass)




Change Properties
Action