We have moved to Github. Please open tickets there.

Opened 3 years ago

Closed 3 years ago

Last modified 2 years ago

#2547 closed Enhancement (fixed)

Allow plugins to register classes with the autoloader

Reported by: brettp Owned by: ewinslow
Priority: normal Milestone: Elgg 1.8.0
Component: Core Version: 1.8 Beta
Severity: minor Keywords:
Cc: brettp Difficulty:

Description

This can be by placing files in a dir or by manually specifying a location and classname.

Change History (6)

comment:1 Changed 3 years ago by ewinslow

  • Resolution set to fixed
  • Status changed from new to closed

(In [svn:7074]) Fixes #2547: Plugins can now participate in autoloading classes.

comment:2 Changed 3 years ago by brettp

  • Resolution fixed deleted
  • Status changed from closed to reopened

Reopening for coding standards concerns. elgg_register_classes() and elgg_register_class() missing docblocks.

comment:3 Changed 3 years ago by ewinslow

Doh, my bad...

So excited that I finally got it done that I committed them a bit hastily :)

comment:4 Changed 3 years ago by brettp

No worries...simple fixes!

comment:5 Changed 3 years ago by cash

  • Resolution set to fixed
  • Status changed from reopened to closed

Brett added the documentation so I'm closing this ticket

comment:6 Changed 2 years ago by brettp

(In [svn:7816]) Refs #7552, #2547. Autoloading functions return bool.

Note: See TracTickets for help on using tickets.