class BookAccessVars in Book access 6.2
Allows to access the Drupal variables used by the module.
Hierarchy
- class \BookAccessVars extends \Vars
Expanded class hierarchy of BookAccessVars
File
- ./
book_access.module, line 650 - Allows to set the access control for book nodes on a per book basis. It is based on forum_access.module and tac_lite.module.
View source
class BookAccessVars extends Vars {
/**
* Constructs a BookAccessVars object.
*/
public function __construct() {
parent::__construct('book_access');
}
/**
* Implements Vars::getDefaults().
*/
protected function getDefaults() {
return array(
'book_access_default_authors_access' => array(
'value' => array(),
),
'book_access_default_roles_access' => array(
'value' => array(),
),
'book_access_default_users_access' => array(
'value' => array(),
),
);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BookAccessVars:: |
protected | function | Implements Vars::getDefaults(). | |
BookAccessVars:: |
public | function | Constructs a BookAccessVars object. |