Post by DOEXPAND » Sat Jul 25, 2015 6:54 pm

WHAT WILL BE THE RESULT OF THIS STATEMENT ??

$Abc = $this->model_catalog_category->getCategories()

I have a module that has this statement in file in controller that equal to variable $Abc. I want to input some else values for $Abc.
I want to replace - "$this->model_catalog_category->getCategories()" - Directly with a result Instead of this query. , so i need a Sample so as how to place a statement to replace it
Please Help

Newbie

Posts

Joined
Thu Jun 11, 2015 2:38 pm

Post by Kenberne1965 » Sat Jul 25, 2015 11:14 pm

you can always output $abc to the error log with

Code: Select all

$this->log->write($abc);
then you can see for yourself what is in $abc

Freelance Opencart 1.5.x and 2.x Developer - Available For Hire
Latest Opencart 2 Project --> http://www.falcon-rangecookers.co.uk


User avatar
Active Member

Posts

Joined
Wed Apr 22, 2015 9:37 pm
Location - Doncaster, UK
Who is online

Users browsing this forum: No registered users and 52 guests