Page 1 of 1

WHAT WILL BE THE RESULT OF THIS STATEMENT ??

Posted: Sat Jul 25, 2015 6:54 pm
by DOEXPAND
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

Re: WHAT WILL BE THE RESULT OF THIS STATEMENT ??

Posted: Sat Jul 25, 2015 11:14 pm
by Kenberne1965
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