Directory class for handling all directory-related functions
Retrieve links from database
"linknumber"=>int number of links to list
"offset"=>int offset to show links from
"categoryID"=>string links in category ID (comma delimited list for multiple values)
"priority"=>boolean 0,1
"status"=>boolean 0,1
"linkID"=>int ID of link to be displayed
"order"=>string use MySQL format ("priority DESC" etc.)
EXCLUSION: !X = !4 - will exclude category with ID 4 if used in categoryID
This will list latest 10 links with priority 1
$settings=array(
"linknumber"=>10,
"priority"=>1
);
$aepublic->GetArchive($settings);
.
.
.
?>
This will list 10 links starting from 5th result in category 5 and 14
$settings=array(
"linknumber"=>10,
"offset"=>5,
"categoryID"=>"5,14"
);
$aepublic->GetArchive($settings);
.
.
.
?>
array $settings array of parameters, see below:
Retrieves category
Get depth level of the category
int $categoryID ID of category
Return filename of category
Return category ID
Get category name
Return priority of category
Return linkID describing category
Retrieve categories for the link
int $linkID ID of link
Get description of link
Get email of link
Get filename of link
Get ID of link
Get priority of link
Get status of link
Get thumbnail image for the website (link) from thumbshots.org
Get title of link
Get URL of link
Retrieve parent category for the category
int $categoryID ID of category
Return parent categoryID of category
Get top category for the category
int $categoryID ID of category
Loop through the categories and generate a category list
array $settings settings to specify how the category list should be displayed, see below:
int $settings["parentcategoryID"] - ID of parent category to start from
int $settings["type"] type of category list to be displayed - 0 public list, 1 links using UL, 2 dropdown menu using  , 3 checkboxes below each other;
boolean $settings["order"] - MySQL ORDER BY query part e.g. "priority DESC", "category"
boolean $settings["override"] - override current category filtering - 0 do nothing, 1 override and show as selected in dropdown
int $settings["depth"] - how deep the list should go from the parent category