Last change
on this file since 52860 was
52860,
checked in by kent1@…, 9 years ago
|
if (!defined("_ECRIRE_INC_VERSION")) return; sur tout fichier PHP pour sécurité future principalement
|
File size:
848 bytes
|
Line | |
---|
1 | <?php |
---|
2 | |
---|
3 | if (!defined("_ECRIRE_INC_VERSION")) return; |
---|
4 | |
---|
5 | /** |
---|
6 | * Insertion dans le pipeline rechercher_liste_des_champs |
---|
7 | * |
---|
8 | * Permet de réaliser des recherches dans la table spip_plugins |
---|
9 | * @param Array $tables |
---|
10 | */ |
---|
11 | function step_rechercher_liste_des_champs($tables){ |
---|
12 | $tables['plugin']['nom'] = 8; |
---|
13 | $tables['plugin']['prefixe'] = 8; |
---|
14 | $tables['plugin']['shortdesc'] = 6; |
---|
15 | $tables['plugin']['slogan'] = 6; |
---|
16 | $tables['plugin']['description'] = 3; |
---|
17 | $tables['plugin']['categorie'] = 3; |
---|
18 | $tables['plugin']['tags'] = 1; |
---|
19 | return $tables; |
---|
20 | } |
---|
21 | |
---|
22 | /** |
---|
23 | * Insertion dans le pipeline taches_generales_cron (SPIP) |
---|
24 | * |
---|
25 | * @return L'array des taches complété |
---|
26 | * @param array $taches_generales Un array des tâches du cron de SPIP |
---|
27 | */ |
---|
28 | function step_taches_generales_cron($taches_generales){ |
---|
29 | $taches_generales['step_actualise'] = 24*60*60; |
---|
30 | return $taches_generales; |
---|
31 | } |
---|
32 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.