PHP Manual
后退 |  | 前进

# mcal_event_set_class

(PHP 3 >= 3.0.13, PHP 4, PECL)

mcal_event_set_class -- Sets the class of the streams global event structure

## Description

int mcal_event_set_class ( int stream, int class )

mcal_event_set_class() sets the streams global event structure's class to the given value. The class is either 1 for public, or 0 for private.

Returns `TRUE`.

后退 | 起点 | 前进
mcal_event_set_category | 上一级 | mcal_event_set_description