Changeset 75087 in spip-zone
- Timestamp:
- Aug 29, 2013, 2:07:18 PM (8 years ago)
- Location:
- _plugins_/ocr/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/ocr/trunk/base/ocr.php
r75080 r75087 25 25 return $tables_principales; 26 26 } 27 28 /**29 * Insertion dans le pipeline declarer_tables_objets_sql (SPIP)30 * On ajoute notre champ dans les champs editables de la table spip_documents31 *32 * @param array $tables33 * Le tableau des tables des objets déclarés34 * @return array $tables35 * Le tableau des tables complété (champ "ocr" editable sur les documents)36 */37 function ocr_declarer_tables_objets_sql($tables){38 $tables['spip_documents']['champs_editables'][] = 'ocr';39 return $tables;40 }41 27 ?> -
_plugins_/ocr/trunk/paquet.xml
r75085 r75087 26 26 27 27 <pipeline nom="declarer_tables_principales" inclure="base/ocr.php" /> 28 <pipeline nom="declarer_tables_objets_sql" inclure="base/ocr.php" />29 28 <pipeline nom="taches_generales_cron" inclure="ocr_pipelines.php" /> 30 29
Note: See TracChangeset
for help on using the changeset viewer.