"file" parameter to class registry

Bug #1006411 reported by Greg
This bug report is a duplicate of:  Bug #865773: Specify file name for class alias. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PHPDevShell
Fix Committed
Wishlist
TitanKing

Bug Description

In its current implementation, the class registry will look for a class in a file which named is based on the class name. It would be nice to be able to override the default file name and provide one:

<class name="oneOfMyClasses" plugin="myPlugin" file="my-classes" />

will look inside "/plugins/myPlugin/includes/my-classes.class.php" instead of "/plugins/myPlugin/includes/oneOfMyClasses.class.php"

Greg (gregfr)
Changed in phpdevshell:
importance: Undecided → Wishlist
Greg (gregfr)
Changed in phpdevshell:
assignee: nobody → TitanKing (titan-phpdevshell)
Changed in phpdevshell:
status: New → Confirmed
milestone: none → 3.2.1-stable
Revision history for this message
Greg (gregfr) wrote :

This has been implemented with a trick:

<class name="oneOfMyClasses@my-classes" plugin="myPlugin" />

in order not to disturb the database

Changed in phpdevshell:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.