Name

ap_class_status — read or update status flags of an annotation phrase class

Synopsis

integer ap_class_status( in class_id integer,
  in new_status integer,
  in allow_overwrite integer);
 

Description

ap_class_status reads or updates the status flags of class class_id (e.g. enabled/disabled, draft/published). Pass -1 for new_status to read the current value; otherwise the new value is applied subject to allow_overwrite. Requires DBA privileges. Call ap_global_init first.

Parameters

class_id

Numeric identifier of the phrase class.

new_status

Optional new status value, or -1 to read the current status.

allow_overwrite

Optional flag controlling whether an existing status may be replaced.

Return Types

An integer status value.


© 1992 - OpenLink Software. All rights reserved.

Making Technology Work for You®