Exemple #1
0
 public function items($baseUrl, $params = null, $tooltip = false)
 {
     if ($params != null) {
         if (is_string($params)) {
             if ($tooltip) {
                 return kernel::tooltips();
             } else {
                 return self::getCharacter($baseUrl, "items")->items->{$params};
             }
         }
     } else {
         return self::getCharacter($baseUrl, "items")->items;
     }
 }