[eluser]juan1904[/eluser]
Hi,
I've got a mysterious problem which is eating me. I'm so frustrated right now.
Here we go:
Code:
class Admin_model extends Model {
function __construct()
{
parent::Model();
}
function generate_schedule()
{
// More code here..
$play_dates = __get_play_dates();
// More code here..
}
__get_play_dates is defined in Admin_model and returns an array.
The error message I get:
Fatal error: Call to undefined function __get_play_dates() in C:\wamp\www\myproject\system\application\models\admin_model.php on line 181