Méthode |
Description |
|
addUserByUniqueId ( integer $authorId, string $uniqueId, boolean $inCharge = false ) : boolean |
Add a user, given its unique id. |
|
createAuthor ( array $post ) : boolean |
Create a new Author profile |
|
deleteAuthor ( integer $authorId, integer $reassignTo ) : boolean |
Delete an author profile |
|
getAll ( string $sortby = 'name', string $dir = 'ASC' ) : array |
Get all authors, sorting by a particular field |
|
getAuthorIdsForUser ( integer $userid ) : array |
Get all of the authors available for this user to post under |
|
getAvailablePhotos ( integer $authorID, string $cabin = '', boolean $includeId = false ) : array |
Get all of the photos in the various |
|
getById ( integer $authorId ) : array |
Get an author by its ID |
|
getForUser ( integer $userId, string $sortby = 'name', string $dir = 'ASC' ) : array |
Get all of the authors available for this user to post under |
|
getName ( integer $authorId ) : string |
Get the author's name |
|
getNumBlogPostsForAuthor ( integer $authorId ) : integer |
Get the number of photos uploaded for this author |
|
getNumCommentsForAuthor ( integer $authorId ) : integer |
Get the number of photos uploaded for this author |
|
getNumFilesForAuthor ( integer $authorId ) : integer |
Get the number of files uploaded for this author |
|
getNumUsersForAuthor ( integer $authorId ) : integer |
Get the number of users that have access to this author |
|
getPhotoContextId ( string $label ) : integer |
Get the available photo contexts |
|
getPhotoContexts ( ) : array |
Get the available photo contexts |
|
getPhotoData ( integer $authorID, string $context ) : array |
Get all of the photos in the various |
|
getPhotoDirName ( ) : string |
Get the name of the photos directory (usually: "photos") |
|
getSlug ( integer $authorId ) : string |
Get the slug for a given Author (given its ID) |
|
getUsersForAuthor ( integer $authorId ) : array |
Get the users that have access to an Author. |
|
numAuthors ( ) : integer |
Get the number of Authors that exist. |
|
removeUserByUniqueId ( integer $authorId, string $uniqueId ) : boolean |
Remove a user from this author |
|
savePhotoChoice ( integer $authorId, string $context, string $cabin, string $filename ) : boolean |
Save the photo to display in a given context. |
|
toggleOwnerStatus ( integer $authorId, string $uniqueId ) : boolean |
Toggle the 'owner' flag. |
|
updateAuthor ( integer $authorId, array $post ) : boolean |
Update an author profile |
|
updateAuthorSlug ( integer $authorId, array $post ) : boolean |
Should we update the author's slug? |
|
userHasAccess ( integer $authorId, integer $userId ) : boolean |
Is this user an owner of the given |
|
userIsOwner ( integer $authorId, integer $userId ) : boolean |
Is this user an owner of the given |
|