actual_add_catalogue
actual_add_catalogue_category
actual_add_catalogue_entry
actual_add_catalogue_field
actual_delete_catalogue
actual_delete_catalogue_category
actual_delete_catalogue_entry
actual_delete_catalogue_field
actual_edit_catalogue
actual_edit_catalogue_category
actual_edit_catalogue_entry
actual_edit_catalogue_field
calculate_category_child_count_cache
catalogue_category_breadcrumbs
catalogue_entries_manual_sort
catalogue_from_tree
catalogue_to_tree
count_catalogue_category_children
create_selection_list_catalogue_category_tree
create_selection_list_catalogue_entries_tree
create_selection_list_catalogues
get_catalogue_category_entry_buildup
get_catalogue_category_tree
get_catalogue_entries
get_catalogue_entries_tree
get_catalogue_entry_field_values
get_catalogue_entry_map
grant_catalogue_full_access
is_ecommerce_catalogue
is_ecommerce_catalogue_entry
load_catalogue_row
rebuild_catalogue_cat_treecache
render_catalogue_box
render_catalogue_category_box
render_catalogue_entry_box
render_catalogue_entry_screen
store_in_catalogue_cat_treecache
C_DT_FIELDMAPS
C_DT_GRID
C_DT_TABULAR
C_DT_TITLELIST
actual_add_catalogue(\ID_TEXT $name, mixed $title, mixed $description, \SHORT_INTEGER $display_type, \BINARY $is_tree, \LONG_TEXT $notes, integer $submit_points, \BINARY $ecommerce= 0
, \ID_TEXT $send_view_reports= 'never'
, \?integer $default_review_freq= null
, \?TIME $add_time= null
, boolean $uniqify= false
) : \ID_TEXT
package | catalogues |
---|---|
set | never daily weekly monthly quarterly |
\ID_TEXT
The codename of the catalogue
mixed
The title of the catalogue (either language string map or string)
mixed
A description (either language string map or string)
\SHORT_INTEGER
The display type
\BINARY
Whether the catalogue uses a tree system (as opposed to mere categories in an index)
\LONG_TEXT
Hidden notes pertaining to this catalogue
integer
How many points a member gets by submitting to this catalogue
\BINARY
Whether the catalogue is an eCommerce catalogue
\ID_TEXT
How to send view reports
\?integer
Default review frequency for catalogue entries (null: none)
\?TIME
The add time (null: now)
boolean
Whether to force the name as unique, if there's a conflict
\ID_TEXT
The nameactual_add_catalogue_category(\ID_TEXT $catalogue_name, mixed $title, mixed $description, \LONG_TEXT $notes, \?AUTO_LINK $parent_id, \URLPATH $rep_image= ''
, integer $move_days_lower= 30
, integer $move_days_higher= 60
, \?AUTO_LINK $move_target= null
, \?TIME $add_date= null
, \?AUTO_LINK $id= null
, \?SHORT_TEXT $meta_keywords= ''
, \?LONG_TEXT $meta_description= ''
) : \AUTO_LINK
package | catalogues |
---|
\ID_TEXT
The codename of the catalogue the category is in
mixed
The title of this category (either language string map or string)
mixed
A description (either language string map or string)
\LONG_TEXT
Hidden notes pertaining to this category
\?AUTO_LINK
The ID of this categories parent (null: a root category, or not a tree catalogue)
\URLPATH
The representative image for the category (blank: none)
integer
The number of days before expiry (lower limit)
integer
The number of days before expiry (higher limit)
\?AUTO_LINK
The expiry category (null: do not expire)
\?TIME
The add time (null: now)
\?AUTO_LINK
Force an ID (null: don't force an ID)
\?SHORT_TEXT
Meta keywords for this resource (null: do not edit) (blank: implicit)
\?LONG_TEXT
Meta description for this resource (null: do not edit) (blank: implicit)
\AUTO_LINK
The ID of the new categoryactual_add_catalogue_entry(\AUTO_LINK $category_id, \BINARY $validated, \LONG_TEXT $notes, \BINARY $allow_rating, \SHORT_INTEGER $allow_comments, \BINARY $allow_trackbacks, array $map, \?TIME $time= null
, \?MEMBER $submitter= null
, \?TIME $edit_date= null
, integer $views= 0
, \?AUTO_LINK $id= null
, \?SHORT_TEXT $meta_keywords= ''
, \?LONG_TEXT $meta_description= ''
) : \AUTO_LINK
package | catalogues |
---|
\AUTO_LINK
The ID of the category that the entry is in
\BINARY
Whether the entry has been validated
\LONG_TEXT
Hidden notes pertaining to the entry
\BINARY
Whether the entry may be rated
\SHORT_INTEGER
Whether comments are allowed (0=no, 1=yes, 2=review style)
\BINARY
Whether the entry may be trackbacked
array
A map of field IDs, to values, that defines the entries settings
\?TIME
The time the entry was added (null: now)
\?MEMBER
The entries submitter (null: current user)
\?TIME
The edit time (null: never)
integer
The number of views
\?AUTO_LINK
Force an ID (null: don't force an ID)
\?SHORT_TEXT
Meta keywords for this resource (null: do not edit) (blank: implicit)
\?LONG_TEXT
Meta description for this resource (null: do not edit) (blank: implicit)
\AUTO_LINK
The ID of the newly added entryactual_add_catalogue_field(\ID_TEXT $c_name, mixed $name, mixed $description, \ID_TEXT $type, integer $order, \BINARY $defines_order, \BINARY $visible, \BINARY $searchable, \LONG_TEXT $default, \BINARY $required, \BINARY $put_in_category= 1
, \BINARY $put_in_search= 1
, \SHORT_TEXT $options= ''
, \?AUTO_LINK $id= null
) : \AUTO_LINK
package | catalogues |
---|
\ID_TEXT
The codename of the catalogue the field is for
mixed
The name of the field (either language string map or string)
mixed
A description (either language string map or string)
\ID_TEXT
The type of the field
integer
The field order (the field order determines what order the fields are displayed within an entry)
\BINARY
Whether this field defines the catalogue order
\BINARY
Whether this is a visible field
\BINARY
Whether the field is usable as a search key
\LONG_TEXT
The default value for the field
\BINARY
Whether this field is required
\BINARY
Whether the field is to be shown in category views (not applicable for the list display type)
\BINARY
Whether the field is to be shown in search views (not applicable for the list display type)
\SHORT_TEXT
Field options
\?AUTO_LINK
Force this ID (null: auto-increment as normal)
\AUTO_LINK
Field IDactual_delete_catalogue(\ID_TEXT $name)
actual_delete_catalogue_category(\AUTO_LINK $id, boolean $deleting_all = false
)
package | catalogues |
---|
\AUTO_LINK
The ID of the category
boolean
Whether we're deleting everything under the category; if FALSE we will actively reassign child categories to be directly under the root
actual_delete_catalogue_entry(\AUTO_LINK $id)
actual_delete_catalogue_field(\AUTO_LINK $id)
actual_edit_catalogue(\ID_TEXT $old_name, \ID_TEXT $name, \SHORT_TEXT $title, \LONG_TEXT $description, \SHORT_INTEGER $display_type, \LONG_TEXT $notes, integer $submit_points, \BINARY $ecommerce, \ID_TEXT $send_view_reports, \?integer $default_review_freq, \?TIME $add_time= null
, boolean $uniqify= false
) : \ID_TEXT
package | catalogues |
---|---|
set | never daily weekly monthly quarterly |
\ID_TEXT
The current name of the catalogue
\ID_TEXT
The new name of the catalogue
\SHORT_TEXT
The human readable name/title of the catalogue
\LONG_TEXT
The description
\SHORT_INTEGER
The display type
\LONG_TEXT
Admin notes
integer
How many points are given to a member that submits to the catalogue
\BINARY
Whether the catalogue is an eCommerce catalogue
\ID_TEXT
How to send view reports
\?integer
Default review frequency for catalogue entries (null: none)
\?TIME
Add time (null: do not change)
boolean
Whether to force the name as unique, if there's a conflict
\ID_TEXT
The nameactual_edit_catalogue_category(\AUTO_LINK $id, \SHORT_TEXT $title, \LONG_TEXT $description, \LONG_TEXT $notes, \?AUTO_LINK $parent_id, \SHORT_TEXT $meta_keywords, \LONG_TEXT $meta_description, \URLPATH $rep_image, integer $move_days_lower, integer $move_days_higher, \?AUTO_LINK $move_target, \?TIME $add_time= null
, \?ID_TEXT $c_name= null
)
package | catalogues |
---|
\AUTO_LINK
The ID of the category
\SHORT_TEXT
The title of the category
\LONG_TEXT
Description for the category
\LONG_TEXT
Admin notes
\?AUTO_LINK
The ID of the parent category (null: no parent)
\SHORT_TEXT
Meta keywords for the category
\LONG_TEXT
Meta description for the category
\URLPATH
The representative image for the category (blank: none)
integer
The number of days before expiry (lower limit)
integer
The number of days before expiry (higher limit)
\?AUTO_LINK
The expiry category (null: do not expire)
\?TIME
Add time (null: do not change)
\?ID_TEXT
The catalogue name (null: do not change)
actual_edit_catalogue_entry(\AUTO_LINK $id, \AUTO_LINK $category_id, \BINARY $validated, \LONG_TEXT $notes, \BINARY $allow_rating, \SHORT_INTEGER $allow_comments, \BINARY $allow_trackbacks, array $map, \?SHORT_TEXT $meta_keywords= ''
, \?LONG_TEXT $meta_description= ''
, \?TIME $edit_time= null
, \?TIME $add_time= null
, \?integer $views= null
, \?MEMBER $submitter= null
, boolean $null_is_literal= false
)
package | catalogues |
---|
\AUTO_LINK
The ID of the entry being edited
\AUTO_LINK
The ID of the category that the entry is in
\BINARY
Whether the entry has been validated
\LONG_TEXT
Hidden notes pertaining to the entry
\BINARY
Whether the entry may be rated
\SHORT_INTEGER
Whether comments are allowed (0=no, 1=yes, 2=review style)
\BINARY
Whether the entry may be trackbacked
array
A map of field IDs, to values, that defines the entries settings
\?SHORT_TEXT
Meta keywords for this resource (null: do not edit)
\?LONG_TEXT
Meta description for this resource (null: do not edit)
\?TIME
Edit time (null: either means current time, or if $null_is_literal, means reset to to NULL)
\?TIME
Add time (null: do not change)
\?integer
Number of views (null: do not change)
\?MEMBER
Submitter (null: do not change)
boolean
Determines whether some NULLs passed mean 'use a default' or literally mean 'set to NULL'
actual_edit_catalogue_field(\AUTO_LINK $id, \ID_TEXT $c_name, \?SHORT_TEXT $name, \?LONG_TEXT $description, integer $order, \BINARY $defines_order, \BINARY $visible, \BINARY $searchable, \LONG_TEXT $default, \BINARY $required, \BINARY $put_in_category= 1
, \BINARY $put_in_search= 1
, \SHORT_TEXT $options= ''
, \?ID_TEXT $type= null
)
package | catalogues |
---|
\AUTO_LINK
The ID of the field
\ID_TEXT
The name of the catalogue
\?SHORT_TEXT
The name of the field (null: do not change)
\?LONG_TEXT
Description for the field (null: do not change)
integer
The field order (the field order determines what order the fields are displayed within an entry)
\BINARY
Whether the field defines entry ordering
\BINARY
Whether the field is visible when an entry is viewed
\BINARY
Whether the field is usable as a search key
\LONG_TEXT
The default value for the field
\BINARY
Whether the field is required
\BINARY
Whether the field is to be shown in category views (not applicable for the list display type)
\BINARY
Whether the field is to be shown in search views (not applicable for the list display type)
\SHORT_TEXT
Field options
\?ID_TEXT
The field type (null: do not change)
calculate_category_child_count_cache(\?AUTO_LINK $cat_id, boolean $recursive_updates = true
)
package | catalogues |
---|
\?AUTO_LINK
The ID of the category (null: skip, called by some code that didn't realise it didn't impact a tree parent)
boolean
Whether to recurse up the tree to force recalculations on other categories (recommended, unless you are doing a complete rebuild)
catalogue_entries_manual_sort(array $fields, array $entries, \ID_TEXT $order_by, \ID_TEXT $direction) : array
package | catalogues |
---|
array
Fields array for catalogue
array
Entries to sort (by reference)
\ID_TEXT
What to sort by
\ID_TEXT
Sort direction
array
Entriescatalogue_from_tree(\ID_TEXT $catalogue_name)
catalogue_to_tree(\ID_TEXT $catalogue_name)
count_catalogue_category_children(\AUTO_LINK $category_id) : array
package | catalogues |
---|
\AUTO_LINK
The ID of the category for which count details are collected
array
The number of entries is returned in $output['num_entries'], and the number of subcategories is returned in $output['num_children'], the (possibly recursive) number of subcategories in $output['num_children_children'], and the (possibly recursive) number of entries is returned in $output['num_entries_children'].create_selection_list_catalogue_category_tree(\ID_TEXT $catalogue_name, \?AUTO_LINK $it= null
, boolean $addable_filter= false
, boolean $use_compound_list= false
) : \Tempcode
package | catalogues |
---|
\ID_TEXT
The catalogue name
\?AUTO_LINK
The currently selected entry (null: none)
boolean
Whether to only show for what may be added to by the current member
boolean
Whether to make the list elements store comma-separated child lists instead of IDs
\Tempcode
The list of categoriescreate_selection_list_catalogue_entries_tree(\ID_TEXT $catalogue_name, \?AUTO_LINK $it= null
, \?AUTO_LINK $submitter= null
, boolean $editable_filter= false
) : \Tempcode
package | catalogues |
---|
\ID_TEXT
The catalogue name
\?AUTO_LINK
The currently selected entry (null: none selected)
\?AUTO_LINK
Only show entries submitted by this member (null: no filter)
boolean
Whether to only show for what may be edited by the current member
\Tempcode
The list of entriescreate_selection_list_catalogues(\?ID_TEXT $it= null
, boolean $prefer_ones_with_entries= false
, boolean $only_submittable= false
, \?TIME $updated_since= null
) : \Tempcode
package | catalogues |
---|
\?ID_TEXT
The name of the currently selected catalogue (null: none selected)
boolean
If there are too many to list prefer to get ones with entries rather than just the newest
boolean
Whether to only show catalogues that can be submitted to
\?TIME
Time from which content must be updated (null: no limit).
\Tempcode
Catalogue selection listget_catalogue_category_entry_buildup(\?AUTO_LINK $category_id, \ID_TEXT $catalogue_name, \?array $catalogue, \ID_TEXT $view_type, \ID_TEXT $tpl_set, \?integer $max, \?integer $start, \?mixed $filter, \?AUTO_LINK $root, \?SHORT_INTEGER $display_type= null
, boolean $do_sorting= true
, \?array $entries= null
, string $_filtercode= ''
, \?ID_TEXT $_order_by= null
, \ID_TEXT $ordering_param= 'sort'
, \?MEMBER $viewing_member_id= null
) : array
package | catalogues |
---|---|
set | PAGE SEARCH CATEGORY |
\?AUTO_LINK
The ID of the category for which the entries are being collected (null: entries are [and must be] passed instead)
\ID_TEXT
The name of the catalogue
\?array
A database row of the catalogue we are working with (null: read it in)
\ID_TEXT
The view type we're doing
\ID_TEXT
The template set we are rendering this category using
\?integer
The maximum number of entries to show on a single page of this this category (null: all)
\?integer
The entry number to start at (null: all)
\?mixed
The entries to show, may be from other categories. Can either be SQL fragment, or array (null: use $start and $max)
\?AUTO_LINK
The virtual root for display of this category (null: default)
\?SHORT_INTEGER
The display type to use (null: lookup from $catalogue)
boolean
Whether to perform sorting
\?array
A list of entry rows (null: select them normally)
string
Filtercode to apply (blank: none).
\?ID_TEXT
Orderer (null: read from environment)
\ID_TEXT
Environment param used for ordering
\?MEMBER
Viewing member ID (null: current user)
array
An array containing our built up entries (renderable Tempcode), our sorting interface, and our entries (entry records from database, with an additional 'map' field), and the max rowsget_catalogue_category_tree(\ID_TEXT $catalogue_name, \?AUTO_LINK $category_id, string $breadcrumbs= ''
, \?array $category_details= null
, \?integer $levels= null
, boolean $addable_filter= false
, boolean $use_compound_list= false
, boolean $do_stats= false
) : array
package | catalogues |
---|
\ID_TEXT
The catalogue name
\?AUTO_LINK
The category being at the root of our recursion (null: true root category)
string
The breadcrumbs up to this point in the recursion
\?array
The category details of the $category_id we are currently going through (null: look it up). This is here for efficiency reasons, as finding children IDs to recurse to also reveals the childs details
\?integer
The number of recursive levels to search (null: all)
boolean
Whether to only show for what may be added to by the current member
boolean
Whether to make the list elements store comma-separated child lists instead of IDs
boolean
Whether to collect entry counts with our tree information
array
A list of maps for all subcategories. Each map entry containins the fields 'id' (category ID) and 'breadcrumbs' (path to the category, including the categories own title), and 'entries_count' (the number of entries in the category).get_catalogue_entries(\ID_TEXT $catalogue_name, \?AUTO_LINK $category_id, \?integer $max, \?integer $start, \?mixed $filter, boolean $do_sorting, \?array $filtercode, \ID_TEXT $order_by, \ID_TEXT $direction, string $extra_where= ''
, \?MEMBER $viewing_member_id= null
) : array
package | catalogues |
---|
\ID_TEXT
Name of the catalogue
\?AUTO_LINK
The ID of the category for which the entries are being collected (null: entries are [and must be] passed instead)
\?integer
The maximum number of entries to show on a single page of this this category (ignored if $filter is not NULL) (null: all)
\?integer
The entry number to start at (ignored if $filter is not NULL) (null: all)
\?mixed
The entries to show, may be from other categories. Can either be SQL fragment, or array (null: use $start and $max)
boolean
Whether to perform sorting
\?array
List of filters to apply (null: none). Each filter is a triple: ORd comparison key(s) [separated by pipe symbols], comparison type (one of '<', '>', '<=', '>=', '=', '~=', or '~'), comparison value
\ID_TEXT
Orderer
\ID_TEXT
Order direction
string
Additional WHERE SQL to add on to query
\?MEMBER
Viewing member ID (null: current user)
array
A tuple: whether sorting was done, number of entries returned, list of entriesget_catalogue_entries_tree(\ID_TEXT $catalogue_name, \?AUTO_LINK $submitter= null
, \?AUTO_LINK $category_id= null
, \?string $breadcrumbs= null
, \?ID_TEXT $title= null
, \?integer $levels= null
, boolean $editable_filter= false
) : array
package | catalogues |
---|
\ID_TEXT
The catalogue name
\?AUTO_LINK
Only show entries submitted by this member (null: no filter)
\?AUTO_LINK
The category being at the root of our recursion (null: true root)
\?string
The breadcrumbs up to this point in the recursion (null: blank, as we are starting the recursion)
\?ID_TEXT
The name of the $category_id we are currently going through (null: look it up). This is here for efficiency reasons, as finding children IDs to recurse to also reveals the childs title
\?integer
The number of recursive levels to search (null: all)
boolean
Whether to only show for what may be edited by the current member
array
A list of maps for all categories. Each map entry containins the fields 'id' (category ID) and 'breadcrumbs' (path to the category, including the categories own title), and more.get_catalogue_entry_field_values(\?ID_TEXT $catalogue_name, mixed $entry_id, \?array $only_fields= null
, \?array $fields= null
, boolean $natural_order= false
, \ID_TEXT $view_type= 'PAGE'
) : array
package | catalogues |
---|---|
set | PAGE SEARCH CATEGORY |
\?ID_TEXT
The catalogue name we are getting an entry in (null: lookup)
mixed
The ID of the entry we are getting OR the row
\?array
A list of fields that we are limiting ourselves to (null: get ALL fields)
\?array
The database rows for the fields for this catalogue (null: find them)
boolean
Whether to order the fields in their natural database order
\ID_TEXT
The view type we're doing
array
A list of maps (each field for the entry gets a map), where each map contains 'effective_value' (the value for the field). Some maps get additional fields (effective_value_pure), depending on the field typeget_catalogue_entry_map(array $entry, \?array $catalogue, \ID_TEXT $view_type, \ID_TEXT $tpl_set, \?AUTO_LINK $root= null
, \?array $fields= null
, \?array $only_fields= null
, boolean $feedback_details= false
, boolean $breadcrumbs_details= false
, \?integer $order_by= null
, \?array $_breadcrumbs= null
) : array
package | catalogues |
---|---|
set | PAGE SEARCH CATEGORY |
array
A database row of the entry we are working with
\?array
A database row of the catalogue we are working with (null: read it in here)
\ID_TEXT
The view type we're doing
\ID_TEXT
The template set we are rendering this category using
\?AUTO_LINK
The virtual root for display of this category (null: none)
\?array
The database rows for the fields for this catalogue (null: find them)
\?array
A list of fields (sequence numbers) that we are limiting ourselves to (null: get ALL fields)
boolean
Whether to grab the feedback details
boolean
Whether to grab the breadcrumbs details
\?integer
Field index to order by (null: none)
\?array
Write breadcrumbs into here (null: don't bother)
array
A map of information relating to the entry. The map contains 'FIELDS' (Tempcode for all accumulated fields), 'FIELD_x' (for each field x applying to the entry), STAFF_DETAILS, COMMENT_DETAILS, RATING_DETAILS, VIEW_URL, BREADCRUMBSgrant_catalogue_full_access(\AUTO_LINK $category_id)
package | catalogues |
---|
\AUTO_LINK
The ID of the category that access is being given to
is_ecommerce_catalogue(\SHORT_TEXT $catalogue_name, \?array $catalogue = null
) : boolean
package | catalogues |
---|
\SHORT_TEXT
Catalogue name
\?array
Catalogue row (null: look up)
boolean
Status of ecommerce catalogue checkis_ecommerce_catalogue_entry(\AUTO_LINK $entry_id) : boolean
package | catalogues |
---|
\AUTO_LINK
Entry ID
boolean
Status of entry type checkload_catalogue_row(\ID_TEXT $catalogue_name, boolean $fail_ok = false
) : \?array
package | catalogues |
---|
\ID_TEXT
The catalogue name
boolean
Whether to return NULL if we can't find it (as opposed to a fatal error)
\?array
Catalogue row (null: could not find it, and $fail_ok was set to true)rebuild_catalogue_cat_treecache()
package | catalogues |
---|
render_catalogue_box(array $row, \ID_TEXT $zone= '_SEARCH'
, boolean $give_context= true
, \ID_TEXT $guid= ''
) : \Tempcode
package | catalogues |
---|
array
Catalogue row
\ID_TEXT
Zone to link through to
boolean
Whether to include context (i.e. say WHAT this is, not just show the actual content)
\ID_TEXT
Overridden GUID to send to templates (blank: none)
\Tempcode
The catalogue boxrender_catalogue_category_box(array $row, \ID_TEXT $zone= '_SEARCH'
, boolean $give_context= true
, boolean $include_breadcrumbs= true
, \?AUTO_LINK $root= null
, boolean $attach_to_url_filter= false
, \ID_TEXT $guid= ''
) : \Tempcode
package | catalogues |
---|
array
The database field row of it
\ID_TEXT
The zone to use
boolean
Whether to include context (i.e. say WHAT this is, not just show the actual content)
boolean
Whether to include breadcrumbs (if there are any)
\?AUTO_LINK
Virtual root to use (null: none)
boolean
Whether to copy through any filter parameters in the URL, under the basis that they are associated with what this box is browsing
\ID_TEXT
Overridden GUID to send to templates (blank: none)
\Tempcode
A box for it, linking to the full pagerender_catalogue_entry_box(array $row, \ID_TEXT $zone= '_SEARCH'
, boolean $give_context= true
, boolean $include_breadcrumbs= true
, \?AUTO_LINK $root= null
, \ID_TEXT $guid= ''
) : \Tempcode
package | catalogues |
---|
array
Catalogue row
\ID_TEXT
Zone to link through to
boolean
Whether to include context (i.e. say WHAT this is, not just show the actual content)
boolean
Whether to include breadcrumbs (if there are any)
\?AUTO_LINK
Virtual root to use (null: none)
\ID_TEXT
Overridden GUID to send to templates (blank: none)
\Tempcode
The catalogue boxrender_catalogue_entry_screen(\AUTO_LINK $id, boolean $no_title= false
, boolean $attach_to_url_filter= true
) : \Tempcode
package | catalogues |
---|
\AUTO_LINK
Entry ID
boolean
Whether to skip rendering a title
boolean
Whether to copy through any filter parameters in the URL, under the basis that they are associated with what this box is browsing
\Tempcode
Tempcode interface to display an entrystore_in_catalogue_cat_treecache(\AUTO_LINK $id, \?AUTO_LINK $parent_id, boolean $cleanup_first = true
)
package | catalogues |
---|
\AUTO_LINK
The ID of the category
\?AUTO_LINK
The ID of the parent category (null: no parent)
boolean
Whether to delete any possible pre-existing records for the category first