RenderableObject class This object should be inherited by all classes which are intended to output content for the client browser.
Located in /story-defs.php (line 30)
RenderableObject | --story
Remove the story from the system. We actually just flag it as deleted on the database, and keep the record.
Returns the story_id of a translation of the current story in the
given language. If it already exists, then it just returns the story ID. If it doesn't exist, then it simply makes a copy of this story, assigns it the language it _will_ be translated into, and records a relationship to the other associated translations in the database table 'story_tranlsation'. This latter table allows us to put a list of languages (or little country flags) on any stories which have alternatives in another language.
Render the story. We render the story as a table within a form containing all the form elements required to manipulate the story content, email it to someone, save it, and delete it etc...
Generate a precis from the story content.
Generate a story_precis from the story body and return it.
Return the content of this story formatted for plaintext display
Process the POST from form. This method deals with POSTed content from the edit form.
Return the rendering of the story icon (if one exists) either as a standard HTML anchor tag if an icon URL exists, or as an image.
Render the story as a maintainer reader would view it. Note that this
is not a fully dressed-up story viewer. It is designed as a view that a story administrator would see, showing all the technical bits and pieces such as story byte-size etc. You should create your own viewer for rendering stories 'prettily' on your website.
Do a re-count of the story words. Set our local variable and also return the value as a by-product..
Inherited From RenderableObject
RenderableObject::RenderableObject()
RenderableObject::html()
RenderableObject::render()
RenderableObject::wml()
RenderableObject::wmlup()
RenderableObject::xml()
Documentation generated by phpDocumentor 1.3.0RC3