Search:

# CWIS Developers Documentation

# SPTUser Class Reference

Collaboration diagram for SPTUser:

[legend]

## Public Member Functions
| SPTUser ($UserInfo=NULL)
| PrefFontSize ($NewValue=DB_NOVALUE)
| PrefFontTypeFace ($NewValue=DB_NOVALUE)
| PrefFontColor ($NewValue=DB_NOVALUE)
| PrefBackgroundColor ($NewValue=DB_NOVALUE)
| PrefColorAvoidanceFlags ($NewValue=DB_NOVALUE)
| PrefContentDensity ($NewValue=DB_NOVALUE)
| PrefContentView ($NewValue=DB_NOVALUE)
| PrefAudioDescriptionLevel ($NewValue=DB_NOVALUE)
| PrefAudioDescriptionLanguage ($NewValue=DB_NOVALUE)
| PrefVisualDescriptionLanguage ($NewValue=DB_NOVALUE)
| PrefImageDescriptionLanguage ($NewValue=DB_NOVALUE)
| PrefUseGraphicAlternatives ($NewValue=DB_NOVALUE)
| PrefSignLanguage ($NewValue=DB_NOVALUE)
| PrefCaptionType ($NewValue=DB_NOVALUE)
| PrefCaptionRate ($NewValue=DB_NOVALUE)
| UUPUpdateValue ($FieldName, $NewValue)
## Public Attributes
const | UIPREF_AVOID_RED = 1
const | UIPREF_AVOID_REDGREEN = 2
const | UIPREF_AVOID_BLUEYELLOW = 4
const | UIPREF_AVOID_GREENYELLOW = 8
const | UIPREF_AVOID_ORANGE = 16
const | UIPREF_AVOID_REDBLACK = 32
const | UIPREF_AVOID_PURPLEGREY = 64
const | UIPREF_AVOID_USEMAXMONOCHR = 128
const | UIPREF_CONTENTDENSITY_NOPREFERENCE = 0
const | UIPREF_CONTENTDENSITY_DETAILED = 1
const | UIPREF_CONTENTDENSITY_OVERVIEW = 2
const | UIPREF_CONTENTVIEW_NOPREFERENCE = 0
const | UIPREF_CONTENTVIEW_TEXTINTENSIVE = 1
const | UIPREF_CONTENTVIEW_IMAGEINTENSIVE = 2
const | UIPREF_AUDIODESCRIPTION_NONE = 0
const | UIPREF_AUDIODESCRIPTION_STANDARD = 1
const | UIPREF_AUDIODESCRIPTION_EXPANDED = 2
const | UIPREF_CAPTIONTYPE_NONE = 0
const | UIPREF_CAPTIONTYPE_VERBATIM = 1
const | UIPREF_CAPTIONTYPE_REDUCEDREADINGLEVEL = 2
| $DB
| $UserUIPreferencesCache

List of all members.

## Detailed Description

Definition at line 19 of file SPTUser.php.

Inheritance diagram for SPTUser:

[legend]

## Member Function Documentation

SPTUser::PrefAudioDescriptionLanguage | ( | $ | NewValue = `DB_NOVALUE` | ) |

Definition at line 118 of file SPTUser.php.

References UUPUpdateValue().

SPTUser::PrefAudioDescriptionLevel | ( | $ | NewValue = `DB_NOVALUE` | ) |

Definition at line 116 of file SPTUser.php.

References UUPUpdateValue().

SPTUser::PrefBackgroundColor | ( | $ | NewValue = `DB_NOVALUE` | ) |

Definition at line 108 of file SPTUser.php.

References UUPUpdateValue().

SPTUser::PrefCaptionRate | ( | $ | NewValue = `DB_NOVALUE` | ) |

Definition at line 130 of file SPTUser.php.

References UUPUpdateValue().

SPTUser::PrefCaptionType | ( | $ | NewValue = `DB_NOVALUE` | ) |

Definition at line 128 of file SPTUser.php.

References UUPUpdateValue().

SPTUser::PrefColorAvoidanceFlags | ( | $ | NewValue = `DB_NOVALUE` | ) |

Definition at line 110 of file SPTUser.php.

References UUPUpdateValue().

SPTUser::PrefContentDensity | ( | $ | NewValue = `DB_NOVALUE` | ) |

Definition at line 112 of file SPTUser.php.

References UUPUpdateValue().

SPTUser::PrefContentView | ( | $ | NewValue = `DB_NOVALUE` | ) |

Definition at line 114 of file SPTUser.php.

References UUPUpdateValue().

SPTUser::PrefFontColor | ( | $ | NewValue = `DB_NOVALUE` | ) |

Definition at line 106 of file SPTUser.php.

References UUPUpdateValue().

SPTUser::PrefFontSize | ( | $ | NewValue = `DB_NOVALUE` | ) |

Definition at line 102 of file SPTUser.php.

References UUPUpdateValue().

SPTUser::PrefFontTypeFace | ( | $ | NewValue = `DB_NOVALUE` | ) |

Definition at line 104 of file SPTUser.php.

References UUPUpdateValue().

SPTUser::PrefImageDescriptionLanguage | ( | $ | NewValue = `DB_NOVALUE` | ) |

Definition at line 122 of file SPTUser.php.

References UUPUpdateValue().

SPTUser::PrefSignLanguage | ( | $ | NewValue = `DB_NOVALUE` | ) |

Definition at line 126 of file SPTUser.php.

References UUPUpdateValue().

SPTUser::PrefUseGraphicAlternatives | ( | $ | NewValue = `DB_NOVALUE` | ) |

Definition at line 124 of file SPTUser.php.

References UUPUpdateValue().

SPTUser::PrefVisualDescriptionLanguage | ( | $ | NewValue = `DB_NOVALUE` | ) |

Definition at line 120 of file SPTUser.php.

References UUPUpdateValue().

SPTUser::SPTUser | ( | $ | UserInfo = `NULL` | ) |

Definition at line 53 of file SPTUser.php.

References $DB, User::$Session, User::Id(), User::IsLoggedIn(), and User::User().

SPTUser::UUPUpdateValue | ( | $ | FieldName,
|  | $ | NewValue |
| ) |  |  |

Definition at line 139 of file SPTUser.php.

References User::Id().

Referenced by PrefAudioDescriptionLanguage(), PrefAudioDescriptionLevel(), PrefBackgroundColor(), PrefCaptionRate(), PrefCaptionType(), PrefColorAvoidanceFlags(), PrefContentDensity(), PrefContentView(), PrefFontColor(), PrefFontSize(), PrefFontTypeFace(), PrefImageDescriptionLanguage(), PrefSignLanguage(), PrefUseGraphicAlternatives(), and PrefVisualDescriptionLanguage().

Here is the caller graph for this function:

## Member Data Documentation

SPTUser::$DB

Reimplemented from User.

Definition at line 136 of file SPTUser.php.

Referenced by SPTUser().

SPTUser::$UserUIPreferencesCache

Definition at line 137 of file SPTUser.php.

const SPTUser::UIPREF_AUDIODESCRIPTION_EXPANDED = 2

Definition at line 45 of file SPTUser.php.

const SPTUser::UIPREF_AUDIODESCRIPTION_NONE = 0

Definition at line 43 of file SPTUser.php.

const SPTUser::UIPREF_AUDIODESCRIPTION_STANDARD = 1

Definition at line 44 of file SPTUser.php.

const SPTUser::UIPREF_AVOID_BLUEYELLOW = 4

Definition at line 25 of file SPTUser.php.

const SPTUser::UIPREF_AVOID_GREENYELLOW = 8

Definition at line 26 of file SPTUser.php.

const SPTUser::UIPREF_AVOID_ORANGE = 16

Definition at line 27 of file SPTUser.php.

const SPTUser::UIPREF_AVOID_PURPLEGREY = 64

Definition at line 29 of file SPTUser.php.

const SPTUser::UIPREF_AVOID_RED = 1

Definition at line 23 of file SPTUser.php.

const SPTUser::UIPREF_AVOID_REDBLACK = 32

Definition at line 28 of file SPTUser.php.

const SPTUser::UIPREF_AVOID_REDGREEN = 2

Definition at line 24 of file SPTUser.php.

const SPTUser::UIPREF_AVOID_USEMAXMONOCHR = 128

Definition at line 30 of file SPTUser.php.

const SPTUser::UIPREF_CAPTIONTYPE_NONE = 0

Definition at line 48 of file SPTUser.php.

const SPTUser::UIPREF_CAPTIONTYPE_REDUCEDREADINGLEVEL = 2

Definition at line 50 of file SPTUser.php.

const SPTUser::UIPREF_CAPTIONTYPE_VERBATIM = 1

Definition at line 49 of file SPTUser.php.

const SPTUser::UIPREF_CONTENTDENSITY_DETAILED = 1

Definition at line 34 of file SPTUser.php.

const SPTUser::UIPREF_CONTENTDENSITY_NOPREFERENCE = 0

Definition at line 33 of file SPTUser.php.

const SPTUser::UIPREF_CONTENTDENSITY_OVERVIEW = 2

Definition at line 35 of file SPTUser.php.

const SPTUser::UIPREF_CONTENTVIEW_IMAGEINTENSIVE = 2

Definition at line 40 of file SPTUser.php.

const SPTUser::UIPREF_CONTENTVIEW_NOPREFERENCE = 0

Definition at line 38 of file SPTUser.php.

const SPTUser::UIPREF_CONTENTVIEW_TEXTINTENSIVE = 1

Definition at line 39 of file SPTUser.php.

The documentation for this class was generated from the following file:

- SPTUser.php