Alzabo (version 0.92)

Doc index

TOC | Top

NAME

Alzabo::Config - Alzabo configuration information

TOC | Top

SYNOPSIS

  use Alzabo::Config
  print Alzabo::Config::schema_dir;
TOC | Top

DESCRIPTION

This module contains functions related to Alzabo configuration information.

TOC | Top

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.

TOC | Top

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.

TOC | Top

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


Table of Contents

- NAME
- SYNOPSIS
- DESCRIPTION
- FUNCTIONS
      - root_dir ($root)
      - schema_dir
      - available_schemas