code/controllers/ExternalContentAdmin.php
public function EditForm($request = null) {
		HtmlEditorField::include_js();

		$cur = $this->getCurrentPageID();
		if ($cur) {
			$record = $this->currentPage();
			if (!$record)
				return false;
			if ($record && !$record->canView())
				return Security::permissionFailure($this);
		}

		if ($this->hasMethod('getEditForm')) {
			return $this->getEditForm($this->getCurrentPageID());
		}

		return false;
	}
public function EditForm($request = null) {
		HtmlEditorField::include_js();

		$cur = $this->getCurrentPageID();
		if ($cur) {
			$record = $this->currentPage();
			if (!$record)
				return false;
			if ($record && !$record->canView())
				return Security::permissionFailure($this);
		}

		if ($this->hasMethod('getEditForm')) {
			return $this->getEditForm($this->getCurrentPageID());
		}

		return false;
	}
public function EditForm ( $ request = null ) { HtmlEditorField :: include_js ( ) ; $ cur = $ this -> getCurrentPageID ( ) ; if ( $ cur ) { $ record = $ this -> currentPage ( ) ; if ( ! $ record ) return false ; if ( $ record && ! $ record -> canView ( ) ) return Security :: permissionFailure ( $ this ) ; } if ( $ this -> hasMethod ( 'getEditForm' ) ) { return $ this -> getEditForm ( $ this -> getCurrentPageID ( ) ) ; } return false ; }
Return the edit form
@see cms/code/LeftAndMain#EditForm()
Return the edit form