- Posts: 109
- Thank you received: 5
Query About Code (in address/listing.php)
11 years 8 months ago #188292
by Ed_Hika
Query About Code (in address/listing.php) was created by Ed_Hika
-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6
Hello, there.
Good evening!
Please could you explain the significance of the following section of code in address/listing.php?
What is being tested for true/false (as in the "if(false)")?
Thanks.
Take care!
-- Joomla version -- : 3.3.6
Hello, there.
Good evening!
Please could you explain the significance of the following section of code in address/listing.php?
Code:
if(false) {
$this->setLayout('select');
echo $this->loadTemplate();
}
What is being tested for true/false (as in the "if(false)")?
Thanks.
Take care!
Please Log in or Create an account to join the conversation.
11 years 8 months ago #188316
by Xavier
Replied by Xavier on topic Query About Code (in address/listing.php)
Hi,
The "if(false)" means that we must never go in this if condition and always in the else.
It has been added and it is waiting for a future feature, so it can be ignored for the moment
The "if(false)" means that we must never go in this if condition and always in the else.
It has been added and it is waiting for a future feature, so it can be ignored for the moment
The following user(s) said Thank You: Ed_Hika
Please Log in or Create an account to join the conversation.
Time to create page: 0.132 seconds