CipUX::Object::Action.3pm

Langue: en

Autres versions - même langue

Version: 2010-06-07 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

CipUX::Object::Action - Object Action layer class for CipUX

VERSION

version 3.4.0.3

SYNOPSIS

   use CipUX::Object;
 
   my $obj = CipUX::Object::Action->new(cfg);
 
   # After installation, or you have to copy it there
   my $cfg = '/usr/share/cipux/etc/cipux-object.perl';
 
   my $type_ar = $obj->list_type( {
       cfg_hr=> $cfg_hr,
   } );
 
   foreach my $type ( @{$type_ar} ){
       print "Valid CipUX Object Type: $type\n"
           or die 'Can not print to STDOUT!';
   }
 
 

DESCRIPTION

Provides the base subroutines for other CipUX::Object::Action classes.

The CipUX object layer is a generic abstract class, which can be used by other classes or scripts.

SUBROUTINES/METHODS

The following functions will be exported by CipUX::Object::Action.

BUILD

init cipux-configurations

list_type

List all cipux object defined in the configuration.

Syntax:

  $object->list_type({
      cfg_hr=>$cfg__hr,
  });
 
 

DIAGNOSTICS

TODO

CONFIGURATION AND ENVIRONMENT

TODO

DEPENDENCIES

Carp Class:Std CipUX

INCOMPATIBILITIES

Not known.

BUGS AND LIMITATIONS

Not known.

SEE ALSO

See the CipUX web page and the manual at <http://www.cipux.org>

See the mailing list <http://sympa.cipworx.org/wws/info/cipux-devel>

AUTHOR

Christian Kuelker <christian.kuelker@cipworx.org> Copyright (C) 2007 - 2009 by Christian Kuelker

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 2, 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.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA