Tag Archives: php

Fatal Error Cannot Redeclare Function II

In the previous article, we saw how to prevent an error like this one by wrapping the function in an if (! function_exists() statement. In this article, we’ll look at …

Tags: , , , , | Posted under MODX, MODX | Leave a comment

PHP Kint Debugger

Recently I was creating a PHP class to help extract fragments of malformed HTML documents. This small project is a work in progress and while using PHPStorm I wanted a …

Tags: , , | Posted under Drupal, Programming/Coding | Leave a comment

Essential Prestashop Functions – Day 4

Prestashop has lots of time-saving functions that we can use when developing modules or extensions. Let’s see how to get various products list and deal with cookies, in this fourth …

Tags: , , , , | Posted under PrestaShop | Leave a comment