Instance Properties
| Name | Description | Access |
|---|---|---|
| length | number The number of objects in the collection. | read-only |
Methods
| count( | ) |
→ number |
| itemByName( | name) |
→ K4Article |
| itemByRange( | from, to) |
→ K4Article |
| k4GetById( | k4Id) |
→ Object |
| k4GetByName( | k4Name) |
→ Object |
| middleItem( | ) |
→ K4Article |
| previousItem( | obj) |
→ K4Article |
| toSource( | ) |
→ string |
-
add( [withProperties])→ K4Article -
Creates a new K4Article.
withPropertiesObject Initial values for properties of the new K4Article (Optional) -
anyItem( )→ K4Article -
Returns any K4Article in the collection.
-
count( )→ number -
Displays the number of elements in the K4Article.
-
everyItem( )→ K4Article -
Returns every K4Article in the collection.
-
firstItem( )→ K4Article -
Returns the first K4Article in the collection.
-
item( index)→ K4Article -
Returns the K4Article with the specified index or name.
indexThe index or name. Can accept: Long Integer or String. -
itemByID( id)→ K4Article -
Returns the K4Article with the specified ID.
idnumber The ID. -
itemByName( name)→ K4Article -
Returns the K4Article with the specified name.
namestring The name. -
itemByRange( from, to)→ K4Article -
Returns the K4Articles within the specified range.
fromThe K4Article, index, or name at the beginning of the range. Can accept: K4Article, Long Integer or String. toThe K4Article, index, or name at the end of the range. Can accept: K4Article, Long Integer or String. -
k4GetById( k4Id)→ Object -
K4 Get By ID
k4Idstring K4 ID -
k4GetByName( k4Name)→ Object -
K4 Get By Name
k4Namestring K4 Name -
lastItem( )→ K4Article -
Returns the last K4Article in the collection.
-
middleItem( )→ K4Article -
Returns the middle K4Article in the collection.
-
nextItem( obj)→ K4Article -
Returns the K4Article whose index follows the specified K4Article in the collection.
objK4Article The K4Article whose index comes before the desired K4Article. -
previousItem( obj)→ K4Article -
Returns the K4Article with the index previous to the specified index.
objK4Article The index of the K4Article that follows the desired K4Article. -
toSource( )→ string -
Generates a string which, if executed, will return the K4Article.