|  | Next

# Phorum Developer Reference Manual

### Maurice Makaay

### Brian Moon

### Thomas Seifert

### Andy Taylor

### Joe Curia

Copyright © 2008 Phorum.org

List of Tables

2.1. Keys and values in module information

List of Examples

1.1. Template information file: $info.php
1.2. Template example
1.3. Integer values
1.4. Code using integer values
1.5. String values
1.6. Escaped quotes in string values
1.7. Code using string values
1.8. Code using a PHP constant definition
1.9. Code using built-in PHP constants
1.10. Template variables
1.11. Referencing elements in a template variable array
1.12. Code using template variables
1.13. Display a variable
1.14. Add in line comments
1.15. DEFINE statement usage
1.16. VAR statement usage
1.17. IF .. ELSEIF .. ELSE .. statement usage
1.18. LOOP statement usage
1.19. INCLUDE statement usage
1.20. HOOK statement usage
2.1. Module information
2.2. Single file module
2.3. Multi file module
2.4. Tree structure for a module that supports languages
2.5. Custom language file for a module
2.6. Filling custom profile fields for a user with data
2.7. Generating a profile URL using phorum_get_url()
2.8. Generating a custom script URL using phorum_get_url()
2.9. Generating an absolute URL for a file in a module directory
2.10. Storing settings for a module in the database
2.11. An example module settings.php script

|  | Next