Barbie > Labyrinth > Labyrinth::Plugin::Base

Download:
Labyrinth-5.29.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 5.29   Source  

NAME ^

Labyrinth::Plugin::Base - Base Plugin Handler for Labyrinth

DESCRIPTION ^

Contains all the admin handling functionality for a simple plugin.

FUNCTIONS ^

Constructor

new()

Creates the Plugin object.

PUBLIC INTERFACE METHODS ^

None by default.

ADMIN INTERFACE METHODS ^

Access

Determines the minimum level of access required. Primarily used to build the administration navigation panel.

ImageCheck

Used when deleting images, to sure the plugin doesn't still reference them. Otherwise missing images could result.

Admin

Full Admin list for the current plugin. Enables the 'Delete' and 'Copy' features if they have been selected. Calls the SearchSQL function to generate the 'WHERE' clause, and stores the result output.

SearchSQL

Generates the 'WHERE' clause to refine a list.

AdminAmendments

Some plugins need to add or amend field values, or perform additonal functionality before displaying the list of records.

Add

Primes the edit page for adding a record.

AddAmendments

Some plugins need to add or amend field values, or perform additonal functionality before displaying the new record for edit.

Promote

Promotes the reference item through to the next stage of the workflow.

Copy

Performs any copy functionality required.

CopyAmendments

Some plugins need to add or amend field values, or perform additonal functionality before saving and displaying the copied record for edit.

Edit

Primes the edit page for editing a record.

EditAmendments

Some plugins need to add or amend field values, or perform additonal functionality before displaying the record for edit.

Save

Validates the fields returned from the edit page, and either saves or inserts the record into the database.

SaveAmendments

Some plugins need to amend fields, or perform additonal functionality before saving the record.

Delete

Deletes the requested records from the database.

DeleteItem
DeleteVerify

SEE ALSO ^

  Labyrinth

AUTHOR ^

Barbie, <barbie@missbarbell.co.uk> for Miss Barbell Productions, http://www.missbarbell.co.uk/

COPYRIGHT & LICENSE ^

  Copyright (C) 2002-2014 Barbie for Miss Barbell Productions
  All Rights Reserved.

  This module is free software; you can redistribute it and/or
  modify it under the Artistic License 2.0.
syntax highlighting: