Documentation : articles/element.php
articles/element.php - AJAX back-end support for articles
This script can be invoked from Javascript either to retrieve one or several attributes, which are returned as a JSON-encoded string, or to update one or several attributes.Restrictions apply on this page:
- associates and editors are allowed to move forward
- access is restricted ('active' field == 'R'), but the surfer is an authenticated member
- public access is allowed ('active' field == 'Y')
- permission denied is the default
Accept following invocations:
- element.php/12/introduction-description -- get related attributes
- element.php/12 -- to POST new attributes
- element.php?id=12&action=introduction, description
- element.php?id=12&introduction=hello%20world
This script is a reference file of this system.
Licence : GNU Lesser General Public License
Auteurs :
- Bernard Paques bernard.paques@bigfoot.com