code/pages/WikiPage.php
public function getActualEditorType() {
		if ($this->EditorType && $this->EditorType != 'Inherit') {
			return $this->EditorType;
		}

		$parent = $this->getParent();
		$editorType = 'Wiki';
		while ($parent != null && $parent instanceof WikiPage) {
			if ($parent->EditorType && $parent->EditorType != 'Inherit') {
				return $parent->EditorType;
			}
			$parent = $parent->getParent();
		}

		return 'Wiki';
	}
public function getActualEditorType() {
		if ($this->EditorType && $this->EditorType != 'Inherit') {
			return $this->EditorType;
		}

		$parent = $this->getParent();
		$editorType = 'Wiki';
		while ($parent != null && $parent instanceof WikiPage) {
			if ($parent->EditorType && $parent->EditorType != 'Inherit') {
				return $parent->EditorType;
			}
			$parent = $parent->getParent();
		}

		return 'Wiki';
	}
public function getActualEditorType ( ) { if ( $ this -> EditorType && $ this -> EditorType != 'Inherit' ) { return $ this -> EditorType ; } $ parent = $ this -> getParent ( ) ; $ editorType = 'Wiki' ; while ( $ parent != null && $ parent instanceof WikiPage ) { if ( $ parent -> EditorType && $ parent -> EditorType != 'Inherit' ) { return $ parent -> EditorType ; } $ parent = $ parent -> getParent ( ) ; } return 'Wiki' ; }
Return the editor type to use for this item. Will interrogate
parents if needbe

@return String
Return the editor type to use for this item . Will interrogate parents if needbe