Provided by: libalzabo-perl_0.92-3_all
NAME
Alzabo::Config - Alzabo configuration information
SYNOPSIS
use Alzabo::Config print Alzabo::Config::schema_dir;
DESCRIPTION
This module contains functions related to Alzabo configuration information.
FUNCTIONS
root_dir ($root) If a value is passed to this method then the root is temporarily changed. This change lasts as long as your application remains in memory. However, since changes are not written to disk it will have to be changed again. Returns the root directory for your Alzabo installation. schema_dir If no root_dir is defined, this function throws an exception. Returns the directory under which Alzabo schema objects are stored in serialized form. available_schemas If no root_dir is defined, this function throws an exception. Returns a list containing the names of the available schemas. There will be one directory for each schema under the directory returned. Directories which cannot be read will not be included in the list. Throws: "Alzabo::Exception::System"