public function xgetFieldTypes($onlyUsable = false)
    {
        $fieldTypes = array_keys($this->_getFields());

        if ($onlyUsable) {
            unset($fieldTypes['root']);
            unset($fieldTypes['referenceroot']);
            unset($fieldTypes['reference']);
        }

        sort($fieldTypes);

        return $fieldTypes;
    }