[ Index ] |
|
Code source de LifeType 1.2.4 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 373 lignes (14 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 47 fois |
Nécessite: | 0 fichiers |
Blogs:: (13 méthodes):
Blogs()
getBlogInfo()
getBlogInfoByName()
getBlogInfoByDomain()
getSearchConditions()
updateBlogCategoriesLink()
updateBlog()
addBlog()
getAllBlogs()
getAllBlogIds()
getNumBlogs()
deleteBlog()
mapRow()
Blogs() X-Ref |
Pas de description |
getBlogInfo( $blogId ) X-Ref |
Returns information about a blog. param: blogId Identifier of the blog we want to get information param: extendedInfo return: Returns a BlogInfo object containing information about the blog |
getBlogInfoByName( $blogName, $extendedInfo = false ) X-Ref |
Returns information about a blog. param: blogName Identifier of the blog we want to get information return: Returns a BlogInfo object containing information about the blog |
getBlogInfoByDomain($blogDomain, $extendedInfo = false) X-Ref |
Pas de description |
getSearchConditions( $searchTerms ) X-Ref |
updateBlogCategoriesLink( $blogInfo, $oldBlogInfo = null ) X-Ref |
Updates blog category counters |
updateBlog( &$blog ) X-Ref |
Updates the configuration of a blog param: blogId Blog identifier param: blogInfo A BlogInfo object containing all the information of the blog param: return Returns true if everything's ok or false otherwise |
addBlog( &$blog ) X-Ref |
Adds a new blog to the database. param: blog A BlogInfo object with the necessary information return: False if unsuccessful or true otherwise. It will also set the database id of the |
getAllBlogs( $status = BLOG_STATUS_ALL, $blogCategoryId = ALL_BLOG_CATEGORIES,$searchTerms = "", $page = -1, $itemsPerPage = DEFAULT_ITEMS_PER_PAGE ) X-Ref |
Returns all the blogs defined for the site in an array, sorted by its blog identifier. param: status param: searchTerms param: page param: itemsPerPage return: Returns an array with all the blogs defined for this site. The array |
getAllBlogIds() X-Ref |
returns only an array with all the blog ids return: an array with blog ids |
getNumBlogs( $status = BLOG_STATUS_ALL, $blogCategoryId = ALL_BLOG_CATEGORIES, $searchTerms = "" ) X-Ref |
returns the total number of blogs in the site param: status param: searchTerms return: The number of blogs |
deleteBlog( $blogId ) X-Ref |
Removes a blog from the database. It also removes all its posts, its posts categories its links, its links categories, its trackbacks and its comments param: blogId the id of the blog we'd like to delete return: boolean success of the operation |
mapRow( $row ) X-Ref |
Généré le : Mon Nov 26 21:04:15 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |