Changeset 17933


Ignore:
Timestamp:
Sep 15, 2012, 8:36:48 PM (8 years ago)
Author:
mistic100
Message:

example of new API method

Location:
extensions/skeleton
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/skeleton/language/en_UK/intro.html

    r17924 r17933  
    1212    <li>Administration page</li>
    1313    <li>Public page</li>
    14     <li>New tabs for core admin pages</li>
    15     <li>New filters and actions in the Batch Manager</li>
     14    <li>Add tabs to core admin pages</li>
     15    <li>Add filters and actions to the Batch Manager</li>
    1616    <li>Simple template prefilter (on picture.php page)</li>
     17    <li>Add new method to the API</li>
    1718  </ul>
    1819</p>
  • extensions/skeleton/language/fr_FR/intro.html

    r17924 r17933  
    1313    <li>Page publique</li>
    1414    <li>Ajout d'onglet sur les pages d'administration existantes</li>
    15     <li>Nouveaux filtres et actions pour le gestionnaire de lots</li>
     15    <li>Ajout des filtres et actions au gestionnaire de lots</li>
    1616    <li>Préfiltre de template simple (sur page picture.php)</li>
     17    <li>Ajout d'une méthode à l'API</li>
    1718  </ul>
    1819</p>
  • extensions/skeleton/main.inc.php

    r17924 r17933  
    7878}
    7979
     80// add API function
     81add_event_handler('ws_add_methods', 'skeleton_ws_add_methods');
    8082
    81 // file containing specific plugin functions
     83
     84// files containing specific plugin functions
    8285include_once(SKELETON_PATH . 'include/functions.inc.php');
     86include_once(SKELETON_PATH . 'include/ws_functions.inc.php');
    8387
    8488
Note: See TracChangeset for help on using the changeset viewer.