view/activities/json.php
protected function _getMedialinkData(ComActivitiesActivityMedialinkInterface $medialink)
    {
        $data = $medialink->toArray();

        $data['url'] = $this->_getUrl($medialink->getUrl());

        return $this->_cleanupData($data);
    }
protected function _getMedialinkData(ComActivitiesActivityMedialinkInterface $medialink)
    {
        $data = $medialink->toArray();

        $data['url'] = $this->_getUrl($medialink->getUrl());

        return $this->_cleanupData($data);
    }
protected function _getMedialinkData ( ComActivitiesActivityMedialinkInterface $ medialink ) { $ data = $ medialink -> toArray ( ) ; $ data [ 'url' ] = $ this -> _getUrl ( $ medialink -> getUrl ( ) ) ; return $ this -> _cleanupData ( $ data ) ; }
Activity medialink data getter.

@param ComActivitiesActivityMedialinkInterface $medialink The medialink object.
@return array The object data.
Activity medialink data getter .