public function findAttachedFiles($ttContentRow)
    {
        // Set current data
        $this->cObj->data = $ttContentRow;

        // Get files by filesProcessor
        $processedData = [];
        $processedData = $this->filesProcessor->process($this->cObj, [], $this->filesProcessorConfiguration, $processedData);
        $fileReferenceObjects = $processedData['files'];

        return $fileReferenceObjects;
    }
public function findAttachedFiles($ttContentRow)
    {
        // Set current data
        $this->cObj->data = $ttContentRow;

        // Get files by filesProcessor
        $processedData = [];
        $processedData = $this->filesProcessor->process($this->cObj, [], $this->filesProcessorConfiguration, $processedData);
        $fileReferenceObjects = $processedData['files'];

        return $fileReferenceObjects;
    }
public function findAttachedFiles ( $ ttContentRow ) { // Set current data $ this -> cObj -> data = $ ttContentRow ; // Get files by filesProcessor $ processedData = [ ] ; $ processedData = $ this -> filesProcessor -> process ( $ this -> cObj , [ ] , $ this -> filesProcessorConfiguration , $ processedData ) ; $ fileReferenceObjects = $ processedData [ 'files' ] ; return $ fileReferenceObjects ; }
Finds files attached to "uploads" content elements
returns them as file reference objects array
@author Christian Bülter <buelter@kennziffer.com>
@since 24.09.13
@param array $ttContentRow content element
@return array
Finds files attached to uploads content elements returns them as file reference objects array