Symbiote\Interactives\Model\Interactive
- Author: Marcus Nyeholt <marcus@silverstripe.com.au>
- License: BSD http://silverstripe.org/BSD-license
Synopsis
class Interactive
extends DataObject
{
- // members
- private static boolean $use_js_tracking = false;
- private static string $table_name = 'Interactive';
- private static array $db = ;
- private static array $has_one = ;
- private static array $owns = ;
- private static array $extensions = ;
- private static array $defaults = ;
- private static array $interactive_presets = ;
- private static string $tracker_type = '';
- private static array $summary_fields = ;
- protected $stats;
- // methods
- public void getTypeLabel()
- public void canView()
- public void canCreate()
- public void canDelete()
- public void canEdit()
- public void getCMSFields()
- public void onBeforeWrite()
- public void getImpressions()
- public void getClicks()
- public void getCompletes()
- protected array getCollatedStatistics()
- public void forTemplate()
- public array forDisplay()
- public void SetRatioSize()
- public void Link()
- public void getTarget()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Members
private
- $db
- $defaults
- $extensions
- $has_one
- $interactive_presets
- $owns
- $summary_fields
- $table_name
- $tracker_type
- $use_js_tracking
protected
- $stats
Methods
protected
- getCollatedStatistics() — Get a list of statistics about how this interactive has been viewed and interacted with
public
- Link()
- SetRatioSize()
- canCreate()
- canDelete()
- canEdit()
- canView()
- forDisplay() — Convert this interactive to a format for display
- forTemplate()
- getCMSFields()
- getClicks()
- getCompletes()
- getImpressions()
- getTarget()
- getTypeLabel()
- onBeforeWrite()