Welcome Guest, Not a member yet? Register   Sign In
How to call Model (used HMVC)
#1

[eluser]Ngua Go[/eluser]
i use HMVC but when call a model so error:

A PHP Error was encountered
Severity: Notice
Message: Undefined property: Index::$modeltest
Filename: backend/index.php
Line Number: 22

Model file: models/modeltest.php
I have tried to models of module: modules/news/models/modeltest.php
but still error occurs
the file modeltest.php is called but class Modeltest is not


Messages In This Thread
How to call Model (used HMVC) - by El Forum - 09-16-2010, 04:46 AM
How to call Model (used HMVC) - by El Forum - 09-16-2010, 06:19 AM
How to call Model (used HMVC) - by El Forum - 09-16-2010, 08:08 AM
How to call Model (used HMVC) - by El Forum - 09-16-2010, 08:43 AM
How to call Model (used HMVC) - by El Forum - 09-16-2010, 09:17 AM
How to call Model (used HMVC) - by El Forum - 09-16-2010, 09:28 AM
How to call Model (used HMVC) - by El Forum - 09-16-2010, 10:17 AM
How to call Model (used HMVC) - by El Forum - 09-16-2010, 02:10 PM
How to call Model (used HMVC) - by El Forum - 09-17-2010, 05:35 AM
How to call Model (used HMVC) - by El Forum - 09-20-2010, 06:51 PM
How to call Model (used HMVC) - by El Forum - 09-21-2010, 05:23 AM
How to call Model (used HMVC) - by El Forum - 09-21-2010, 06:25 AM
How to call Model (used HMVC) - by El Forum - 09-21-2010, 06:29 AM



Theme © iAndrew 2016 - Forum software by © MyBB