SO FOOT Front

Markers

Table of Contents

lib/classes/transients.class.php 4
lib/includes/api.inc.php 1
lib/includes/slug.inc.php 9
lib/includes/twig.inc.php 2
lib/includes/utils.inc.php 22
lib/includes/client.inc.php 2
lib/actions/signup.action.php 1
lib/classes/reactions.class.php 4
lib/classes/svg.class.php 3
lib/includes/date.inc.php 1

transients.class.php

Type Line Description
16 Il n'est pas nécéssaire de définir les paramètres à cet endroit
24 cette donnée est mise en cache temporairement
51 m($caller, $code);
79 m($caller, $code);

api.inc.php

Type Line Description
96 m(['method' => $method, 'url' => $url, 'data' => $data, 'headers' => $headers]);

slug.inc.php

Type Line Description
52 Preserve escaped octets.
54 Remove percent signs that are not part of an octet.
56 Restore octets.
66 kill entities
88 Decompositions for Latin-1 Supplement
117 Decompositions for Latin Extended-A
182 Euro Sign
184 GBP (Pound) Sign
189 Assume ISO-8859-1 if not UTF-8

twig.inc.php

Type Line Description
62 TODO ajouter d'autres globales
85 Retourne le chemin du dossier public + argument

utils.inc.php

Type Line Description
231 $data = str_replace(chr(146), "'", $data);
232 $data = str_replace(chr(180), "'", $data);
283 prolonger la coupe jusqu'au tag fermant suivant eventuel
287 on utilise les \r pour passer entre les gouttes
291 sauts de ligne et paragraphes
295 supprimer les traits, lignes etc
298 supprimer les tags
301 marquer la fin
304 couper au mot precedent
310 trop court ? ne pas faire de (...)
312 $points = '';
315 encore trop court ? couper au caractere
321 la fin est encore la : c'est qu'on n'a pas de texte de suite
324 remettre les paragraphes
327 supprimer l'eventuelle entite finale mal coupee
368 First of all you should encode $data to Base64 string
371 Make sure you get a valid result, otherwise, return FALSE, as the base64_encode() function do
376 Convert Base64 to Base64URL by replacing “+” with “-” and “/” with “_”
379 Remove padding character from the end of line and return the Base64URL result
387 Convert Base64 to Base64URL by replacing “+” with “-” and “/” with “_”
410 set version to 0100
411 set bits 6-7 to 10

client.inc.php

Type Line Description
18 $client->setCredentials(new WpBasicAuth($_ENV['API_LOGIN'], $_ENV['API_PASSWORD']));
19 $user = $client->users()->get(2);

signup.action.php

Type Line Description
28 User::create();

reactions.class.php

Type Line Description
22 'comments' => $user['nb_messages'],
23 TODO
26 TODO
27 TODO,

svg.class.php

Type Line Description
51 TODO if ($element = $doc->getElementsByTagName('title')[0]) {
52 aria-labelledby="title desc"
53 }

date.inc.php

Type Line Description
3 setlocale (LC_TIME, 'fr_FR.UTF-8','fr_FR.UTF8','fra');

Search results