class openlayers_behavior in Openlayers 7.2
Same name and namespace in other branches
- 6.2 openlayers.module \openlayers_behavior
We define base classes in the core module. All other parent classes can be autoloaded through ctools.
Hierarchy
- class \openlayers_behavior
Expanded class hierarchy of openlayers_behavior
2 string references to 'openlayers_behavior'
- hook_openlayers_behaviors in docs/
openlayers.api.php - OpenLayers Behaviors
- _openlayers_openlayers_behaviors in includes/
openlayers.behaviors.inc - Internal callback Helper function to return default behaviors.
File
- ./
openlayers.module, line 1221 - Main OpenLayers API File
View source
class openlayers_behavior {
var $options, $map;
function __construct($options = array(), $map = array()) {
$this->options = $options + $this
->options_init();
$this->map = $map;
}
/*
* @return array of JavaScript functions required to be defined
* in order for this function to work
*/
function js_dependency() {
return array();
}
function options_init() {
return array();
}
/*
* @param $defaults default values for the form as an array
* @return a FormAPI form
*/
function options_form($defaults = array()) {
return array();
}
function render(&$map) {
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
openlayers_behavior:: |
property | |||
openlayers_behavior:: |
function | 17 | ||
openlayers_behavior:: |
function | 24 | ||
openlayers_behavior:: |
function | 27 | ||
openlayers_behavior:: |
function | 28 | ||
openlayers_behavior:: |
function |