Skip to content
Snippets Groups Projects
Commit 4055bf14 authored by David Surville's avatar David Surville
Browse files

Fonctions convertFromXml et convertToXml rendues publiques

parent f7525397
No related branches found
No related tags found
No related merge requests found
......@@ -81,7 +81,7 @@ abstract class Entity
return $changes;
}
protected static function convertFromXml($data)
public static function convertFromXml($data)
{
switch ($data) {
case 'FALSE':
......@@ -93,7 +93,7 @@ abstract class Entity
}
}
protected static function convertToXml($data)
public static function convertToXml($data)
{
if (is_bool($data)){
if ($data) return 'TRUE'; else return 'FALSE';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment