| TREEGEN COMPONENT 4.01 |
| TreeGen
Objects Last modified: April 9,1999 © 2000 Advantys. All rights reserved. |
The Tree object can be created directly from a ASP program.
Syntax
Set myTree = Server.CreateObject("TreeGen.Tree")
myTree.Collections | Properties | MethodsCollections
Properties
Name Name of the tree Description Description of the tree TreeType Type of the tree (TREE or NEWS) DataSource Data source of the tree (TEXT or ODBC) Version Version of the TreeGen component Domain Domain name RootItem Root of the tree Properties (TEXT datasource only)
PhysicalPath File description of the tree TextSeparator Separator for Text Datasource DateLastModified Last modified date of the tree Properties (ODBC datasource only)
ConnectString ODBC ConnectString SQLSelectString SQL request used to display items of a tree SQLCleanString SQL request used to delete items SQLAddString SQL request used to add items to a tree Methods
LoadItems([ItemStart, Deep]) Loads the specified items LoadItemsFromShortCut ("ShortCut", [Deep]) Loads items from the item with the specified shortcut SaveItems Saves items
Methods (for debug purpose)
ShowDebugInfo Displays all tree and items properties ShowDebugTreeInfo Displays tree properties ShowDebugItemInfo Displays items properties
Syntax
myItems.Properties | MethodsProperties
Count Returns the number of items Methods
Syntax
myItem.Collections | Properties | MethodsCollections
ACL ACL associated with the Item Properties
ID ID of the Item ChildID Child ID of the Item SiblingID Brother ID of the Item ParentID Parent ID of the Item Child Returns a item object which is the child of the item Sibling Returns a item object which is the brother of the item Link Returns the link object associated to the item BackLink Returns a link object LikeAFolder Checks whether the current item is seen as a folder ItemDate A Date ShortCut ShortCut of the item Level Level of the current item IsChildLoaded Checks wether the child of the current item is loaded or not Methods
HasChild Checks whether the item has a child HasSibling Checks whether the item has a brother HasParent Checks whether the item has a parent AddChild Add a child to the current item AddSibling Add a brother to the current item
Syntax
myLink.PropertiesProperties
Only available for ODBC datasources.
The Attributes collection allows you to access to all your database fields via TreeGen component.
Syntax
myAttributes.Properties | Methods
Properties
| Count | Returns the number of attributes |
Methods
| Item(AttID) | (Default method) Returns the Attribute object with the specified ID |
| Add(oItem) | Adds a new attribute to the collection |
Only available for ODBC datasources
Syntax
myItem.PropertiesProperties
Syntax
myACL.Properties | MethodsProperties
Count Returns the number of ACEs Methods
Syntax
myAce.PropertiesCollections
Properties
Trustee Specifies the account name for this ACE Domain Specifies the domain name for this ACE AccessMask Specifies the AccesMask AceType Specifies the ACE type
© 2000 Advantys. All rights reserved.