public function parseType($name)
    {
        //if the name is prefixed with the settings prefix
        if (strpos($name, $this->settingsPrefix) === 0) {
            return $this->type = 'settings';
        }
        //otherwise if the name is prefixed with the page prefix
        elseif (strpos($name, $this->pagePrefix) === 0) {
            return $this->type = 'page';
        }
        //otherwise it's a model
        else {
            return $this->type = 'model';
        }
    }