MPMinus::Transaction - MVC SKEL transaction
Version 1.05
my $q = new CGI; my ($actObject,$actEvent) = split /[,]/, $q->param('action') || ''; $actObject = 'default' unless $actObject && $m->ActionCheck($actObject); $actEvent = $actEvent && $actEvent =~ /go/ ? 'go' : ''; $r->content_type( $m->getActionRecord($actObject)->{content_type} ); my $status = $m->ActionTransaction($actObject,$actEvent); my $status = $m->ActionExecute($actObject,'cdeny');
Working with MVC SKEL transactions.
See MVC SKEL transaction DESCRIPTION file or MPMinus::Manual
DESCRIPTION
my $status = $m->ActionTransaction( $actObject, $actEvent );
Start MVC SKEL Transaction by $actObject and $actEvent
my $status = $m->ActionExecute( $actObject, $handler_name );
Execute $handler_name action by $actObject.
$handler_name must be: mproc, vform, cchck, caccess, cdeny
my $status = $m->ActionCheck( $actObject );
Check existing status of $actObject handler
my $struct = $m->getActionRecord( $actObject );
Returns meta record of $actObject
Serz Minus (Lepenkov Sergey) http://serzik.ru <minus@mail333.com>
Copyright (C) 1998-2013 D&D Corporation. All Rights Reserved
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
See LICENSE file
LICENSE
To install MPMinus, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MPMinus
CPAN shell
perl -MCPAN -e shell install MPMinus
For more information on module installation, please visit the detailed CPAN module installation guide.