Skip to content
Snippets Groups Projects
Commit 93cde962 authored by Raph El's avatar Raph El
Browse files

Test debug const array

parent 5a8972a3
No related branches found
No related tags found
No related merge requests found
<?php
class CO2 {
const OBJCLASSES=array("TypeObj","Poi","Article","Event");
const OBJCLASSES = array("TypeObj","Poi","Article","Event");
public static $OBJCLASSES = array("TypeObj","Poi","Article","Event");
public static function getCategories(){
return array(
......@@ -130,7 +132,7 @@ class CO2 {
}
public static function getModulesRessources(){
$ressources=[];
foreach(self::OBJCLASSES as $v){
foreach(self::$OBJCLASSES as $v){
array_push($ressources, "/js/classes/CO3_".$v.".js");
}
return $ressources;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment