[ Index ] |
|
Code source de LifeType 1.2.4 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 730 lignes (19 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 12 fois |
Nécessite: | 0 fichiers |
BlogInfo:: (57 méthodes):
BlogInfo()
getBlog()
getOwnerId()
getOwner()
getAbout()
getUnformattedAbout()
getSettings()
getSetting()
getValue()
setValue()
addProperties()
setProperties()
getCreateDateObject()
getCreateDate()
setCreateDate()
getUpdateDateObject()
getUpdateDate()
setUpdateDate()
getTotalPosts()
setTotalPosts()
setTotalComments()
getTotalComments()
setTotalTrackbacks()
getTotalTrackbacks()
getOwnerInfo()
getUsersInfo()
getId()
setBlog()
setOwner()
setAbout()
setSettings()
setOwnerInfo()
setUsersInfo()
setId()
getTemplate()
setTemplate()
getBlogRequestGenerator()
getTemplateSet()
setTemplateSet()
getLocale()
getBlogLocale()
setLocale()
getStatus()
setStatus()
getResourcesQuota()
setResourcesQuota()
getBlogCategoryId()
setBlogCategoryId()
getBlogCategory()
setMangledBlogName()
getMangledBlogName()
setCustomDomain()
getCustomDomain()
getMangledBlog()
getShowInSummary()
setShowInSummary()
__sleep()
BlogInfo( $blog, $owner, $about, $settings, $id = -1 ) X-Ref |
Pas de description |
getBlog() X-Ref |
Returns the short name of the blog. return: A string with the short name of the blog. |
getOwnerId() X-Ref |
Returns the identifier of the user who owns this journal. return: An integer value representing the identifier of the user who owns this blog. |
getOwner() X-Ref |
Returns the identifier of the user who owns this journal. return: An integer value representing the identifier of the user who owns this blog. |
getAbout( $format = true ) X-Ref |
Returns a longer and descriptive text about this blog. It can also be empty since it is configurable from within the "Blog Settings" in the administration interface. param: format Whether basic formatting should be applied to the text return: A string containing the more descriptive text about the journal. |
getUnformattedAbout() X-Ref |
return: Returns the information about this blog without any formatting. |
getSettings() X-Ref |
Returns a BlogSettings object with information about the settings of the journal. |
getSetting( $setting ) X-Ref |
Pas de description |
getValue( $value ) X-Ref |
returns a key from the blog settings |
setValue( $key, $value ) X-Ref |
returns a key from the blog settings |
addProperties( $properties ) X-Ref |
implemented from DbObject. Merges a list of properties with the current settings param: properties |
setProperties( $properties ) X-Ref |
adds an array of pairs (key,value) to the blog settings |
getCreateDateObject() X-Ref |
Pas de description |
getCreateDate() X-Ref |
Pas de description |
setCreateDate( $date ) X-Ref |
Pas de description |
getUpdateDateObject() X-Ref |
Pas de description |
getUpdateDate() X-Ref |
Pas de description |
setUpdateDate( $date ) X-Ref |
Pas de description |
getTotalPosts() X-Ref |
Pas de description |
setTotalPosts( $totalPosts ) X-Ref |
setTotalComments( $totalComments ) X-Ref |
getTotalComments() X-Ref |
Pas de description |
setTotalTrackbacks( $totalTrackbacks ) X-Ref |
getTotalTrackbacks() X-Ref |
Pas de description |
getOwnerInfo() X-Ref |
Gets information about the owner of this blog return: return a UserInfo object which contains much more info about the owner of the blog |
getUsersInfo() X-Ref |
Return information about all the users who belong to this blog. return: An array of UserInfo objects |
getId() X-Ref |
Returns the identifier of this blog. return: An integer value with the identifier of this blog. |
setBlog( $blog ) X-Ref |
setOwner( $owner ) X-Ref |
param: owner id |
setAbout( $about ) X-Ref |
setSettings( $settings ) X-Ref |
setOwnerInfo( $newOwnerInfo ) X-Ref |
setUsersInfo( $newUsersInfo ) X-Ref |
setId( $id ) X-Ref |
getTemplate() X-Ref |
returns the name of the template used by this blog param: the name of the template set used by this blog |
setTemplate( $template ) X-Ref |
sets the template name param: template The name of the template that we'd like to use return: always true |
getBlogRequestGenerator() X-Ref |
this method is some kind of a shortcut for a very common operation: obtaining the correct RequestGenerator object so that we can generate urls based on the information from this blog. This is very handy for example in the summary page where we have to generate lots of different urls for lots of different blogs. return: A RequestGenerator object |
getTemplateSet() X-Ref |
returns a TemplateSet object with the information about the template used by the blog return: a TemplateSet object |
setTemplateSet( $templateSet ) X-Ref |
changes the template set used by the blog param: templateSet A TemplateSet object return: always true |
getLocale() X-Ref |
returns the right locale object for the blog param: a Locale object |
getBlogLocale() X-Ref |
Pas de description |
setLocale( $locale ) X-Ref |
sets the new locale for the blog param: a valid Locale object return: Always true |
getStatus() X-Ref |
returns the status of the blog return: the current status of the blog |
setStatus( $status ) X-Ref |
sets the current status of the blog param: status return: always true |
getResourcesQuota() X-Ref |
returns the quota for this blog, or the value of the global quota for blogs in case this blog has no quota assigned return: the resources quota |
setResourcesQuota( $quota ) X-Ref |
sets the quota param: quota |
getBlogCategoryId() X-Ref |
returns the blog category id. You shouldn't probably use this method, BlogInfo::getBlogCategory() will return the real BlogCategory object for you. return: the blog category id |
setBlogCategoryId( $categoryId ) X-Ref |
sets the blog category id param: the new id |
getBlogCategory() X-Ref |
loads the blog category return: A BlogCategory object |
setMangledBlogName( $mangledBlog, $modify = false ) X-Ref |
set the mangled name of this blog param: mangledBlog the new mangled blog name |
getMangledBlogName() X-Ref |
Pas de description |
setCustomDomain($customDomain) X-Ref |
set the custom domain of this blog param: customDomain the new custom domain |
getCustomDomain() X-Ref |
Pas de description |
getMangledBlog() X-Ref |
getShowInSummary() X-Ref |
return: whether this blog should be shown in the summary page |
setShowInSummary( $showInSummary ) X-Ref |
Whether to show this blog in the summary page or not. param: showInSummary |
__sleep() X-Ref |
Généré le : Mon Nov 26 21:04:15 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |