Author class.
Copyright: | 2019 Ryan Wyllie <ryan@moodle.com> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 211 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
author:: (13 methods):
__construct()
get_id()
get_picture_item_id()
get_first_name()
get_last_name()
get_full_name()
get_email()
is_deleted()
get_middle_name()
get_first_name_phonetic()
get_last_name_phonetic()
get_alternate_name()
get_image_alt()
__construct(int $id,int $pictureitemid,string $firstname,string $lastname,string $fullname,string $email,bool $deleted,string $middlename = null,string $firstnamephonetic = null,string $lastnamephonetic = null,string $alternatename = null,string $imagealt = null) X-Ref |
Constructor. param: int $id ID param: int $pictureitemid Picture item id param: string $firstname First name param: string $lastname Last name param: string $fullname Full name param: string $email Email param: string|null $middlename Middle name param: string|null $firstnamephonetic Phonetic spelling of first name param: string|null $lastnamephonetic Phonetic spelling of last name param: string|null $alternatename Altername name param: string|null $imagealt Image alt |
get_id() X-Ref |
Return the id. return: int |
get_picture_item_id() X-Ref |
Return the picture item id. return: int |
get_first_name() X-Ref |
Return the first name. return: string |
get_last_name() X-Ref |
Return the last name. return: string |
get_full_name() X-Ref |
Return the full name. return: string |
get_email() X-Ref |
Return the email. return: string |
is_deleted() X-Ref |
Is the author deleted? return: bool |
get_middle_name() X-Ref |
Return the middle name. return: string|null |
get_first_name_phonetic() X-Ref |
Return the first name phonetic. return: string|null |
get_last_name_phonetic() X-Ref |
Return the last name phonetic. return: string|null |
get_alternate_name() X-Ref |
Return the alternate name. return: string|null |
get_image_alt() X-Ref |
Return the image alt. return: string|null |