Maxscape::TableAdmin Package
Synopsis
use Maxscape::TableAdmin;
Description
The Maxscape::TableAdmin package implements the web surface to the database table descriptions of the Maxscape::Page::Table and Maxscape::Database::Table classes.
List of Member Functions
Member Functions
DocumentCallback
Synopsis
$TreeAdmin->DocumentCallback ($Context);
Description
Callback to select the wanted page. The DocumentCallback is called before the page is fetched from the content database. This allows to change the CGI variables and the context of the page generation process. The page path (Category and Page CGI variables) is redirected to the page that serves the requested action.
new
Synopsis
my $TreeAdmin = Maxscape::TableAdmin->new (%P);
Description
Creates a 'Maxscape::TableAdmin' object.
Examples
my $TableAdmin = Maxscape::TableAdmin->new ();
adminTable
Synopsis
my $Text = $TableAdmin->adminTable (%P);
Description
Chooses the member function to be called.
execFormInContext1
Synopsis
$TableAdmin->execFormInContext1 ($NODE_NAME, $Context, $Function);
Description
Defines a form's context variables.
list
Synopsis
$TableAdmin->list ();
Description
Lists the content of a database table.
add
Synopsis
$TableAdmin->add ($Page);
Description
Adds a row to the database table.
edit
Synopsis
$TableAdmin->edit ($Page);
Description
Edit database table rows.
delete
Synopsis
$TableAdmin->delete();
Description
Deletes rows from a table.
1| Next ∙ Previous ∙ Top ∙ Join ∙ Contact | © Maxscape |
