Provided by: libalzabo-perl_0.92-4_all
Alzabo::Config - Alzabo configuration information
use Alzabo::Config print Alzabo::Config::schema_dir;
This module contains functions related to Alzabo configuration information.
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"