public function getFrontEndDataObject()
    {
        $obj = null;
        $ba = $this->BaseAction();

        if ($ba->hasMethod('getFrontEndDataObject')) {
            $obj = $ba->getFrontEndDataObject();
        } else {
            $obj = $this->Workflow()->getTarget();
        }

        return $obj;
    }
public function getFrontEndDataObject()
    {
        $obj = null;
        $ba = $this->BaseAction();

        if ($ba->hasMethod('getFrontEndDataObject')) {
            $obj = $ba->getFrontEndDataObject();
        } else {
            $obj = $this->Workflow()->getTarget();
        }

        return $obj;
    }
public function getFrontEndDataObject ( ) { $ obj = null ; $ ba = $ this -> BaseAction ( ) ; if ( $ ba -> hasMethod ( 'getFrontEndDataObject' ) ) { $ obj = $ ba -> getFrontEndDataObject ( ) ; } else { $ obj = $ this -> Workflow ( ) -> getTarget ( ) ; } return $ obj ; }
Gets Front-End DataObject

Use the DataObject as defined in the WorkflowAction, otherwise fall back to the
context object.

Useful for situations where front end workflow deals with multiple data objects

@return DataObject
Gets Front - End DataObject