API16:JCategories/ construct
From Joomla! Documentation
Description
Class constructor
<! removed transcluded page call, red link never existed >
Syntax
__construct($options)
| Parameter Name | Default Value | Description |
|---|---|---|
| $options |
Returns
boolean True on success
Defined in
libraries/joomla/application/categories.php
Importing
jimport( 'joomla.application.categories' );
Source Body
public function __construct($options)
{
$this->_extension = $options['extension'];
$this->_table = $options['table'];
$this->_field = (isset($options['field'])&&$options['field'])?$options['field']:'catid';
$this->_key = (isset($options['key'])&&$options['key'])?$options['key']:'id';
$this->_options = $options;
return true;
}
<! removed transcluded page call, red link never existed >
Examples
Code Examples