Tagsadd adding Alfresco arvixe Arvixe Elgg Hosting bucket change clip ClipBucket CMS cPanel/Linux Hosting create dolphin Drupal elgg Elgg Hosting elgg tutorials how how to install joomla Joomla 3 module MODx mojoPortal New nopcommerce panel php SE4 set up setup site socialengine softaculous tips to TomatoCart use using video web website websitepanel WordPress
Tag Archives: MODx
In the several previous articles, we looked at ways to prevent collisions between functions and classes. In this article, we’ll see how to handle that using PHP namespaces.
In the previous articles, we put our functions insi de a class and included the class file with a line like this: [code language=”php”] include MODX_CORE_PATH . ‘components/mycomponentname/model/mymathfunctions.class.php’; $math = …