public function getTitle() { return \CB\L\get('Calendar'); }
/** * raise an user error if logical result is true * @param boolean $result * @param varchar $translationIndex * @return void */ function raiseErrorIf($result, $translationIndex = 'Error') { if ($result) { trigger_error(\CB\L\get($translationIndex), E_USER_ERROR); } }