class space_mobile_tools in Mobile Tools 7.3
Same name and namespace in other branches
- 7.2 plugins/mobile_tools_spaces.inc \space_mobile_tools
Mobile Tools integration for Spaces.
Hierarchy
- class \space_mobile_tools extends \space_type_purl
Expanded class hierarchy of space_mobile_tools
1 string reference to 'space_mobile_tools'
- mobile_tools_spaces_plugins in ./
mobile_tools.module - Implements hook_spaces_plugins().
File
- plugins/
mobile_tools_spaces.inc, line 13 - Spaces plugin implementation for Mobile Tools device groups
View source
class space_mobile_tools extends space_type_purl {
var $device = NULL;
/**
* Constructor
*/
function __construct($type, $id = NULL) {
parent::__construct($type, $id);
}
/**
* Implementation of space->title().
*/
function title() {
return 'Mobile Tools Space';
}
/**
* Override of activate().
*/
function activate() {
if (parent::activate()) {
// Add configured options
// @todo enable configured space settings
return TRUE;
}
return FALSE;
}
/**
* Override of load().
*/
function load() {
return TRUE;
}
/**
* Implementation of space->router().
*/
function router($op, $object = NULL, $is_active = TRUE) {
switch ($op) {
case 'init':
return;
}
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
space_mobile_tools:: |
property | |||
space_mobile_tools:: |
function | Override of activate(). | ||
space_mobile_tools:: |
function | Override of load(). | ||
space_mobile_tools:: |
function | Implementation of space->router(). | ||
space_mobile_tools:: |
function | Implementation of space->title(). | ||
space_mobile_tools:: |
function | Constructor |