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 [];
            }
        }
    }