NAME

App::Dochazka::REST::Model::Schedule - schedule functions

VERSION

Version 0.072

SYNOPSIS

use App::Dochazka::REST::Model::Schedule;

...

EXPORTS

This module provides the following exports:

get_json

METHODS

spawn

Constructor. See Employee.pm->spawn for general comments.

reset

Instance method. Resets object, either to its primal state (no arguments) or to the state given in PARAMHASH.

Accessor methods

Basic accessor methods for all the fields of Schedule table. These functions return whatever value happens to be associated with the object, with no guarantee that it matches the database.

sid

Accessor method.

schedule

Accessor method.

remark

Accessor method.

insert

Instance method. Attempts to INSERT a record into the 'schedules' table. Field values are taken from the object. Returns a status object.

FUNCTIONS

get_json

Given a database handle and a SID, queries the database for the JSON string associated with the SID. Returns undef if not found.

AUTHOR

Nathan Cutler, <presnypreklad@gmail.com>