code/Controller/AssetAdmin.php
public function fileEditForm($request = null)
    {
        // Get ID either from posted back value, or url parameter
        if (!$request) {
            $this->jsonError(400);
            return null;
        }
        $id = $request->param('ID');
        if (!$id) {
            $this->jsonError(400);
            return null;
        }
        return $this->getFileEditForm($id);
    }
public function fileEditForm($request = null)
    {
        // Get ID either from posted back value, or url parameter
        if (!$request) {
            $this->jsonError(400);
            return null;
        }
        $id = $request->param('ID');
        if (!$id) {
            $this->jsonError(400);
            return null;
        }
        return $this->getFileEditForm($id);
    }
public function fileEditForm ( $ request = null ) { // Get ID either from posted back value, or url parameter if ( ! $ request ) { $ this -> jsonError ( 400 ) ; return null ; } $ id = $ request -> param ( 'ID' ) ; if ( ! $ id ) { $ this -> jsonError ( 400 ) ; return null ; } return $ this -> getFileEditForm ( $ id ) ; }
Get file edit form

@param HTTPRequest $request
@return Form|HTTPResponse
Get file edit form