public function ExportMetaData()
    {
        $def = $this->getDefinition();
        return new ArrayData(array(
            'ExportHost' => preg_replace("#http(s)?://#", '', Director::protocolAndHost()),
            'ExportDate' => date('d/m/Y H-i-s'),
            'ExportUser' => $this->member->FirstName.' '.$this->member->Surname,
            'ExportVersionFramework' => $this->ssVersion(),
            'ExportWorkflowDefName' => $this->processTitle($def->Title),
            'ExportRemindDays' => $def->RemindDays,
            'ExportSort' => $def->Sort
        ));
    }
public function ExportMetaData()
    {
        $def = $this->getDefinition();
        return new ArrayData(array(
            'ExportHost' => preg_replace("#http(s)?://#", '', Director::protocolAndHost()),
            'ExportDate' => date('d/m/Y H-i-s'),
            'ExportUser' => $this->member->FirstName.' '.$this->member->Surname,
            'ExportVersionFramework' => $this->ssVersion(),
            'ExportWorkflowDefName' => $this->processTitle($def->Title),
            'ExportRemindDays' => $def->RemindDays,
            'ExportSort' => $def->Sort
        ));
    }
public function ExportMetaData ( ) { $ def = $ this -> getDefinition ( ) ; return new ArrayData ( array ( 'ExportHost' => preg_replace ( "#http(s)?://#" , '' , Director :: protocolAndHost ( ) ) , 'ExportDate' => date ( 'd/m/Y H-i-s' ) , 'ExportUser' => $ this -> member -> FirstName . ' ' . $ this -> member -> Surname , 'ExportVersionFramework' => $ this -> ssVersion ( ) , 'ExportWorkflowDefName' => $ this -> processTitle ( $ def -> Title ) , 'ExportRemindDays' => $ def -> RemindDays , 'ExportSort' => $ def -> Sort ) ) ; }
Generate template vars for metadata

@return ArrayData
Generate template vars for metadata