public function ACKNodeTaxonomyIndex::__construct in Access Control Kit 7
Overrides AccessControlKitHandler::__construct().
Overrides AccessControlKitHandler::__construct
File
- ack_node/
handlers/ ack_node_taxonomy_index.inc, line 23 - Contains the handler class for the taxonomy term node index.
Class
- ACKNodeTaxonomyIndex
- Controls access to a node based on its relationship to a term in the index.
Code
public function __construct($scheme, array $settings = array()) {
parent::__construct($scheme, $settings);
// Get the vocabulary from the scheme settings.
$this->vocabulary = isset($scheme->settings['vocabulary']) ? $scheme->settings['vocabulary'] : NULL;
}