class My_A11n extends A11n {}
<?php
class Auth_Group_MyGroup extends Auth_Group_Driver {
}
class Auth_Group_SimpleGroup extends Auth\Auth_Group_SimpleGroup {
}
But in this case it works the same as replacing a core class you have to register it in the autoloader, that's explained in the docs.
@daGrevis<?php
class Auth_Login_SimpleAuth extends Auth\Auth_Login_SimpleAuth {
public function create_user($username, $password, $email, $group = 1, $refered_by = '', $question = '', $answer = '', $notify = 0)
{
// content here
}
}
'Auth' => APPPATH.'classes/auth/login/simpleauth.php',
It looks like you're new here. If you want to get involved, click one of these buttons!