Geeklog
[ class tree: Geeklog ] [ index: Geeklog ] [ all elements ]

Procedural File: story.class.php

Source Location: /system/classes/story.class.php



Classes:

Story


Page Details:

This file provides a class to represent a story, or article. It provides a

finite state machine for articles. Switching them between the various states: 1) Post Data 2) Display Mode 3) Edit Mode 4) Database Mode




Tags:

author:  Michael Jervis, mike AT fuckingbrit DOT com
version:  0.1
copyright:  Copyright © 2006-2009
since:  GL 1.4.2
filesource:  Source Code for this file
license:  GNU General Public License v2


Includes:

require_once('gltext.class.php') [line 49]
This file provides a class to represent a story, or article. It provides a

finite state machine for articles. Switching them between the various states: 1) Post Data 2) Display Mode 3) Edit Mode 4) Database Mode




Tags:

author:  Michael Jervis, mike AT fuckingbrit DOT com
version:  0.1
copyright:  Copyright © 2006-2009
since:  GL 1.4.2
filesource:  Source Code for this file
license:  GNU General Public License v2





STORY_AL_ALPHANUM [line 81]

STORY_AL_ALPHANUM = 0
Constants for our magic loader


[ Top ]



STORY_AL_ANYTHING [line 84]

STORY_AL_ANYTHING = 3

[ Top ]



STORY_AL_CHECKBOX [line 83]

STORY_AL_CHECKBOX = 2

[ Top ]



STORY_AL_NUMERIC [line 82]

STORY_AL_NUMERIC = 1

[ Top ]



STORY_DUPLICATE_SID [line 72]

STORY_DUPLICATE_SID = -4
Constants for Stories: Loading from request.


[ Top ]



STORY_EDIT_DENIED [line 59]

STORY_EDIT_DENIED = -3

[ Top ]



STORY_EMPTY_REQUIRED_FIELDS [line 75]

STORY_EMPTY_REQUIRED_FIELDS = -7

[ Top ]



STORY_EXISTING_NO_EDIT_PERMISSION [line 73]

STORY_EXISTING_NO_EDIT_PERMISSION = -5

[ Top ]



STORY_INVALID_SID [line 57]

STORY_INVALID_SID = -1

[ Top ]



STORY_LOADED_OK [line 55]

STORY_LOADED_OK = 1
Constants for stories:

Loading from database:



[ Top ]



STORY_NO_ACCESS_PARAMS [line 74]

STORY_NO_ACCESS_PARAMS = -6

[ Top ]



STORY_NO_ACCESS_TOPIC [line 76]

STORY_NO_ACCESS_TOPIC = -8

[ Top ]



STORY_PERMISSION_DENIED [line 58]

STORY_PERMISSION_DENIED = -2

[ Top ]



STORY_SAVED [line 65]

STORY_SAVED = 2
Constants for Stories:

Saving to database



[ Top ]



STORY_SAVED_SUBMISSION [line 66]

STORY_SAVED_SUBMISSION = 3

[ Top ]




Documentation generated on Sun, 02 Oct 2016 07:55:04 +0000 by phpDocumentor 1.4.3