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

Procedural File: submit.php

Source Location: /public_html/submit.php



Page Details:



Includes:

require_once('lib-common.php') [line 35]
require_once($_CONF['path_system'].'lib-story.php') [line 36]






savestory [line 278]

string savestory( array $A)

Saves a story submission



Tags:

return:  HTML redirect


Parameters

array   $A   Data for that submission
[ Top ]



savesubmission [line 323]

void savesubmission( string $type, array $A)

This will save a submission



Parameters

string   $type   Type of submission we are dealing with
array   $A   Data for that submission
[ Top ]



sendNotification [line 230]

void sendNotification( string $table, string $story)

Send an email notification for a new submission.



Parameters

string   $table   Table where the new submission can be found
string   $story   Story object that was submitted.
[ Top ]



submissionform [line 55]

string submissionform( [string $type = 'story'], [string $mode = ''])

Shows a given submission form

This is the submission it is modular to allow us to write as little as possible. It takes a type and formats a form for the user. Currently the types is story. If no type is provided, Story is assumed.




Tags:

return:  HTML for submission form


Parameters

string   $type   type of submission ('story')
string   $mode   calendar mode ('personal' or empty string)
[ Top ]



Documentation generated on Sun, 02 Oct 2016 07:56:00 +0000 by phpDocumentor 1.4.3