<?php

require_once(EXTENSIONS . '/remote_datasource/data-sources/datasource.remote.php');

class datasource<!-- CLASS NAME --> extends RemoteDatasource {

    public $dsParamROOTELEMENT = '%s';
    public $dsParamURL = '%s';
    public $dsParamFORMAT = '%s';
    public $dsParamXPATH = '%s';
    public $dsParamCACHE = %d;
    public $dsParamTIMEOUT = %d;

    <!-- NAMESPACES -->

    <!-- PARAMOUTPUT -->

    public function __construct($env=NULL, $process_params=true)
    {
        parent::__construct($env, $process_params);
        $this->_dependencies = array(<!-- DS DEPENDENCY LIST -->);
    }

    public function about()
    {
        return array(
            'name' => '<!-- NAME -->',
            'author' => array(
                'name' => '<!-- AUTHOR NAME -->',
                'website' => '<!-- AUTHOR WEBSITE -->',
                'email' => '<!-- AUTHOR EMAIL -->'),
            'version' => '<!-- VERSION -->',
            'release-date' => '<!-- RELEASE DATE -->'
        );
    }

    public function allowEditorToParse()
    {
        return true;
    }

}
