code/Controller/AssetAdmin.php
public function getFileEditLink($file)
    {
        if (!$file || !$file->isInDB()) {
            return null;
        }

        return Controller::join_links(
            $this->Link('show'),
            $file->ParentID,
            'edit',
            $file->ID
        );
    }
public function getFileEditLink($file)
    {
        if (!$file || !$file->isInDB()) {
            return null;
        }

        return Controller::join_links(
            $this->Link('show'),
            $file->ParentID,
            'edit',
            $file->ID
        );
    }
public function getFileEditLink ( $ file ) { if ( ! $ file || ! $ file -> isInDB ( ) ) { return null ; } return Controller :: join_links ( $ this -> Link ( 'show' ) , $ file -> ParentID , 'edit' , $ file -> ID ) ; }
Given a file return the CMS link to edit it

@param File $file
@return string
Given a file return the CMS link to edit it