[catalog] element index

Package indexes

All elements
a c d e f g h i k m n s u v w
a
top
Method additem
catalog::additem() in catalog-defs.php
Add catalog item to the catalog. The catalog will add the new item by cat_id. If that ID already exists it is overwritten.
Method AsIcon
catalogitem::AsIcon() in catalog-defs.php
Return the catalog item as a clickable icon.
Method AsLink
catalogitem::AsLink() in catalog-defs.php
Return the catalog item as a clickable hyperlink.
c
top
Variable $catalogitems
catalog::$catalogitems in catalog-defs.php
The array of catalogitem objects in this catalog
Variable $categories
catalog::$categories in catalog-defs.php
The array of categories (optional)
Variable $category
catalogitem::$category in catalog-defs.php
Variable $cat_desc
catalogitem::$cat_desc in catalog-defs.php
Variable $cat_id
catalogitem::$cat_id in catalog-defs.php
Variable $cat_name
catalogitem::$cat_name in catalog-defs.php
Method catalog
catalog::catalog() in catalog-defs.php
Constructor
Class catalog
catalog in catalog-defs.php
This class encapsulates a media catalog, which is a collection of catalogitem objects.
Page catalog-defs.php
catalog-defs.php in catalog-defs.php
Method catalogitem
catalogitem::catalogitem() in catalog-defs.php
Constructor
Class catalogitem
catalogitem in catalog-defs.php
A class which encpasulates an item which can be in the catalog.
d
top
Method delete
catalogitem::delete() in catalog-defs.php
Remove the catalog item from the database and disk. This method normally tries to remove the physical file first, and if that succeeds it removes the database record. If $deletefile is false then the file will be left and only the DB record deleted.
e
top
Variable $errmsg
catalogitem::$errmsg in catalog-defs.php
f
top
Variable $fileexists
catalogitem::$fileexists in catalog-defs.php
Variable $filepath
catalogitem::$filepath in catalog-defs.php
Variable $filesize
catalogitem::$filesize in catalog-defs.php
g
top
Method get
catalogitem::get() in catalog-defs.php
Get current or nominated catalog item definition from the database.
h
top
Variable $height
catalogitem::$height in catalog-defs.php
Method html
catalogitem::html() in catalog-defs.php
Render the catalog item. We render it as either and icon or a link, both being clickable to view the content.
Method html
catalog::html() in catalog-defs.php
Return the HTML for this catalog. Returns the list of catalog items as an HTML table.
i
top
Method index
catalogitem::index() in catalog-defs.php
Index this catalog item to Lucene.
Method Insitu
catalogitem::Insitu() in catalog-defs.php
Return the catalog item as image, a clickable icon, or otherwise a link.
Method itemcount
catalog::itemcount() in catalog-defs.php
Return the count of items in the catalog currently.
k
top
Variable $keywords
catalogitem::$keywords in catalog-defs.php
m
top
Variable $mime_category
catalogitem::$mime_category in catalog-defs.php
Variable $mime_type
catalogitem::$mime_type in catalog-defs.php
n
top
Variable $newcat
catalogitem::$newcat in catalog-defs.php
s
top
Method save
catalogitem::save() in catalog-defs.php
Save current catalog item definition to the database. Inserts if brand new, else performs an update.
Method search
catalog::search() in catalog-defs.php
Perform a search for catalog items. This method will use Lucene
Method set_categories
catalog::set_categories() in catalog-defs.php
Define the list of user categories which is used to categorise the catalog items in this catalog. This is submitted as an associative array with a single word string as key, and a multi-word string as the value (category description).
u
top
Variable $uploaded
catalogitem::$uploaded in catalog-defs.php
Variable $uploaded_ts
catalogitem::$uploaded_ts in catalog-defs.php
Method unindex
catalogitem::unindex() in catalog-defs.php
Remove this catalog item from the Lucene index.
Method upload
catalogitem::upload() in catalog-defs.php
Process an uploaded media file, and define this catalog item to be
v
top
Variable $valid
catalogitem::$valid in catalog-defs.php
w
top
Variable $width
catalogitem::$width in catalog-defs.php
a c d e f g h i k m n s u v w