Welcome Guest, Not a member yet? Register   Sign In
Can I extend a CI Library in a Package?
#2

[eluser]wiredesignz[/eluser]
Of course if you include the base class manually you can extend anything. You are not forced to use the MY_ subclass prefix when extending CI classes.
Code:
<?php

require BASEPATH.'libraries/Encrypt.php';

class Encrypt extends CI_Encrypt {}


Messages In This Thread
Can I extend a CI Library in a Package? - by El Forum - 04-16-2011, 01:21 AM
Can I extend a CI Library in a Package? - by El Forum - 04-16-2011, 01:49 AM
Can I extend a CI Library in a Package? - by El Forum - 04-16-2011, 02:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB