protected function getAttributeNamesFrom($metaModelName)
    {
        $metaModel = $this->factory->getMetaModel($metaModelName);
        $result    = [];

        if (empty($metaModel)) {
            return $result;
        }

        foreach ($metaModel->getAttributes() as $attribute) {
            $name   = $attribute->getName();
            $column = $attribute->getColName();
            $type   = $attribute->get('type');

            $result[$column] = \sprintf('%s (%s - %s)', $name, $column, $type);
        }

        return $result;
    }
protected function getAttributeNamesFrom($metaModelName)
    {
        $metaModel = $this->factory->getMetaModel($metaModelName);
        $result    = [];

        if (empty($metaModel)) {
            return $result;
        }

        foreach ($metaModel->getAttributes() as $attribute) {
            $name   = $attribute->getName();
            $column = $attribute->getColName();
            $type   = $attribute->get('type');

            $result[$column] = \sprintf('%s (%s - %s)', $name, $column, $type);
        }

        return $result;
    }
protected function getAttributeNamesFrom ( $ metaModelName ) { $ metaModel = $ this -> factory -> getMetaModel ( $ metaModelName ) ; $ result = [ ] ; if ( empty ( $ metaModel ) ) { return $ result ; } foreach ( $ metaModel -> getAttributes ( ) as $ attribute ) { $ name = $ attribute -> getName ( ) ; $ column = $ attribute -> getColName ( ) ; $ type = $ attribute -> get ( 'type' ) ; $ result [ $ column ] = \ sprintf ( '%s (%s - %s)' , $ name , $ column , $ type ) ; } return $ result ; }
Retrieve all attribute names from a given MetaModel name.

@param string $metaModelName The name of the MetaModel.

@return string[]
Retrieve all attribute names from a given MetaModel name .