. * * Consult LICENSE file for details ************************************************/ class BodyPreference extends StateObject { protected $unsetdata = array( 'truncationsize' => false, 'allornone' => false, 'preview' => false, ); /** * expected magic getters and setters * * GetTruncationSize() + SetTruncationSize() * GetAllOrNone() + SetAllOrNone() * GetPreview() + SetPreview() */ /** * Indicates if this object has values * * @access public * @return boolean */ public function HasValues() { return (count($this->data) > 0); } } ?>