[eluser]Agustín Villalba[/eluser]
Hello,
I'm using HMVC library in codeigniter and I have an url like this:
myserver.com/user/view_users_list/lastname/asc
where:
user = controller (module and controller have the same name)
view_users_list = function in the controller
lastname = first parameter for view_users_list
asc = second parameter for view_users_list
and this is my function:
Code:
function view_users_list($order_by,$dir)
{
...
many code
...
}
When I access to that url I have this errors:
A PHP Error was encountered
Severity: Warning
Message: Missing argument 1 for User::view_users_list(), called in /Applications/XAMPP/xamppfiles/htdocs/plafifob_modules/system/application/modules/user/controllers/user.php on line 667 and defined
Filename: controllers/user.php
A PHP Error was encountered
Severity: Warning
Message: Missing argument 2 for User::view_users_list(), called in /Applications/XAMPP/xamppfiles/htdocs/plafifob_modules/system/application/modules/user/controllers/user.php on line 667 and defined
Filename: controllers/user.php
Line Number: 671
I think that could be some error in the HMVC library, but Am I doing something wrong?
Thank you very much.