src/Rah/Sitemap.php
private function populateArticleFields(): self
    {
        $columns = (array) @getThings('describe '.safe_pfx('textpattern'));

        foreach ($columns as $name) {
            $this->articleFields[strtolower($name)] = $name;
        }

        foreach (getCustomFields() as $id => $name) {
            $this->articleFields[$name] = 'custom_'.intval($id);
        }

        return $this;
    }
private function populateArticleFields(): self
    {
        $columns = (array) @getThings('describe '.safe_pfx('textpattern'));

        foreach ($columns as $name) {
            $this->articleFields[strtolower($name)] = $name;
        }

        foreach (getCustomFields() as $id => $name) {
            $this->articleFields[$name] = 'custom_'.intval($id);
        }

        return $this;
    }
private function populateArticleFields ( ) : self { $ columns = ( array ) @ getThings ( 'describe ' . safe_pfx ( 'textpattern' ) ) ; foreach ( $ columns as $ name ) { $ this -> articleFields [ strtolower ( $ name ) ] = $ name ; } foreach ( getCustomFields ( ) as $ id => $ name ) { $ this -> articleFields [ $ name ] = 'custom_' . intval ( $ id ) ; } return $ this ; }
Picks up names of article fields.

@return $this
Picks up names of article fields .