OJS Technical Reference

Version 2.1

Alec Smecher

4th Edition

This document was written under the auspices of the Public Knowledge Project at SFU Library and is licensed under the Creative Commons Attribution-Share Alike 2.5 Canada License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/2.5/ca/ or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.

June 25 2008


Table of Contents

Preface
Introduction
1. About Open Journal Systems
2. About This Document
2.1. Conventions
3. Technologies
1. Design Overview
1. Conventions
1.1. General
1.2. User Interface
1.3. PHP Code
1.4. Database
1.5. Security
2. Introduction
3. Request Handling
3.1. A Note on URLs
3.2. Request Handling Example
3.3. Locating Request Handling Code
2. Database Design
3. Class Reference
1. Class Hierarchy
2. Page Classes
3. Action Classes
4. Model Classes
5. Data Access Objects (DAOs)
6. Support Classes
6.1. Sending Email Messages
6.2. Internationalization
6.3. Forms
6.4. Configuration
6.5. Core Classes
6.6. Database Support
6.7. File Management
6.8. Scheduled Tasks
6.9. Security
6.10. Session Management
6.11. Template Support
6.12. Paging Classes
6.13. Plugins
7. Common Tasks
7.1. Sending Emails
7.2. Database Interaction with DAOs
4. User Interface
1. Variables
2. Functions & Modifiers
5. Plugins
1. Objects & Classes
2. Sample Plugin
2.1. Loader Stub
2.2. Plugin Object
2.3. Registration Function
2.4. Hook Registration and Callback
2.5. Plugin Management
3. Additional Plugin Functionality
4. Hook List
6. Obtaining More Information