| [ Index ] |
|
Code source de CMS made simple 1.0.5 |
[Code source] [Imprimer] [Statistiques]
Class for static methods related to content
| Poids: | 886 lignes (21 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
ContentOperations:: (24 méthodes):
LoadContentType()
CreateNewContent()
LoadContentFromId()
LoadContentFromAlias()
LoadMultipleFromId()
LoadMultipleFromAlias()
DisplayContent()
IsCached()
ListContentTypes()
SetHierarchyPosition()
SetAllHierarchyPositions()
GetAllContentAsHierarchy()
LoadChildrenIntoTree()
SetDefaultContent()
GetAllContent()
CreateHierarchyDropdown()
GetDefaultPageID()
GetPageIDFromAlias()
GetPageIDFromHierarchy()
GetPageAliasFromID()
CheckAliasError()
ClearCache()
CreateFriendlyHierarchyPosition()
CreateUnfriendlyHierarchyPosition()
ContentManager:: (0 méthodes):
Classe: ContentOperations - X-Ref
| LoadContentType($type) X-Ref |
| Pas de description |
| CreateNewContent($type) X-Ref |
| Pas de description |
| LoadContentFromId($id,$loadprops=true) X-Ref |
| Determine proper type of object, load it and return it |
| LoadContentFromAlias($alias, $only_active = false) X-Ref |
| Pas de description |
| LoadMultipleFromId($ids, $loadProperties = false) X-Ref |
| Load the content of the object from a list of ID Private method. returns: array of content objects (empty if not found) param: $ids array of element ids param: $loadProperties whether to load or not the properties |
| LoadMultipleFromAlias($ids, $loadProperties = false) X-Ref |
| Load the content of the object from a list of aliases Private method. returns: array of content objects (empty if not found) param: $ids array of element ids param: $alis the alias of the element param: $loadProperties whether to load or not the properties |
| DisplayContent($content) X-Ref |
| Display content |
| IsCached($id) X-Ref |
| Determine if content should be loaded from cache |
| ListContentTypes() X-Ref |
| Pas de description |
| SetHierarchyPosition($contentid) X-Ref |
| Updates the hierarchy position of one item |
| SetAllHierarchyPositions() X-Ref |
| Updates the hierarchy position of all items |
| GetAllContentAsHierarchy($loadprops, $onlyexpanded=null) X-Ref |
| Pas de description |
| LoadChildrenIntoTree($id, &$tree, $loadprops = false) X-Ref |
| Pas de description |
| SetDefaultContent($id) X-Ref |
| Sets the default content as id |
| GetAllContent($loadprops=true) X-Ref |
| Pas de description |
| CreateHierarchyDropdown($current = '', $parent = '', $name = 'parent_id') X-Ref |
| Pas de description |
| GetDefaultPageID() X-Ref |
| Pas de description |
| GetPageIDFromAlias( $alias ) X-Ref |
| Pas de description |
| GetPageIDFromHierarchy($position) X-Ref |
| Pas de description |
| GetPageAliasFromID( $id ) X-Ref |
| Pas de description |
| CheckAliasError($alias, $content_id = -1) X-Ref |
| Pas de description |
| ClearCache() X-Ref |
| Pas de description |
| CreateFriendlyHierarchyPosition($position) X-Ref |
| Pas de description |
| CreateUnfriendlyHierarchyPosition($position) X-Ref |
| Pas de description |
Classe: ContentManager - X-Ref
| Généré le : Tue Apr 3 18:50:37 2007 | par Balluche grâce à PHPXref 0.7 |