Welcome Guest, Not a member yet? Register   Sign In
MY_ prefixed classes -- reason for the prefix?
#3

[eluser]philpem[/eluser]
[quote author="dixcoder" date="1255959884"]In the System/Application/Config.php

you can find the information about that.

Code:
/*
|--------------------------------------------------------------------------
| Class Extension Prefix
|--------------------------------------------------------------------------
|
| This item allows you to set the filename/classname prefix when extending
| native libraries.  For more information please see the user guide:
|
| http://ellislab.com/codeigniter/user-guide/general/core_classes.html
| http://ellislab.com/codeigniter/user-guide/general/creating_libraries.html
|
*/
$config['subclass_prefix'] = 'MY_';
[/quote]

That explains that you have to prefix the classnames, but not *why* they have to be prefixed...


Messages In This Thread
MY_ prefixed classes -- reason for the prefix? - by El Forum - 10-19-2009, 02:06 AM
MY_ prefixed classes -- reason for the prefix? - by El Forum - 10-19-2009, 02:44 AM
MY_ prefixed classes -- reason for the prefix? - by El Forum - 10-19-2009, 03:56 AM
MY_ prefixed classes -- reason for the prefix? - by El Forum - 10-19-2009, 03:59 AM
MY_ prefixed classes -- reason for the prefix? - by El Forum - 10-19-2009, 10:00 AM
MY_ prefixed classes -- reason for the prefix? - by El Forum - 10-19-2009, 11:07 AM



Theme © iAndrew 2016 - Forum software by © MyBB