Exemple #1
0
 public static function SetData($src, $json = false)
 {
     if (!empty($src)) {
         if ($json) {
             $src = json_encode($src);
         }
         self::$_data = $src;
     }
 }