You are here

ContextBase.php in Forena Reports 8

File

src/FrxPlugin/Context/ContextBase.php
View source
<?php

/**
 * Created by PhpStorm.
 * User: metzlerd
 * Date: 4/26/16
 * Time: 6:34 AM
 */
namespace Drupal\forena\FrxPlugin\Context;

use Drupal\forena\Context\DataContext;
abstract class ContextBase implements ContextInterface {

  /**
   * Return the properteis of the element.
   * @return null|\SimpleXMLElement
   */
  public function asXML() {
    return DataContext::arrayToXml(get_object_vars($this));
  }

}

Classes

Namesort descending Description
ContextBase