src/RpViewWidget.php
public function getVisibleRpAttributes()
    {
        if ($this->visible_properties)
        {
            return (array) $this->visible_properties;
        } else
        {
            $this->model->relatedPropertiesModel->initAllProperties();
            $attributes = $this->model->relatedPropertiesModel->toArray();
            if ($attributes)
            {
                return array_keys($attributes);
            } else
            {
                return [];
            }
        }
    }
public function getVisibleRpAttributes()
    {
        if ($this->visible_properties)
        {
            return (array) $this->visible_properties;
        } else
        {
            $this->model->relatedPropertiesModel->initAllProperties();
            $attributes = $this->model->relatedPropertiesModel->toArray();
            if ($attributes)
            {
                return array_keys($attributes);
            } else
            {
                return [];
            }
        }
    }
public function getVisibleRpAttributes ( ) { if ( $ this -> visible_properties ) { return ( array ) $ this -> visible_properties ; } else { $ this -> model -> relatedPropertiesModel -> initAllProperties ( ) ; $ attributes = $ this -> model -> relatedPropertiesModel -> toArray ( ) ; if ( $ attributes ) { return array_keys ( $ attributes ) ; } else { return [ ] ; } } }
Only visible codes

@return array
Only visible codes