AdminPageFramework_Form_Model___FormatSectionsets::get PHP Метод

get() публичный Метод

public get ( )
    public function get()
    {
        if (empty($this->aSectionsets)) {
            return array();
        }
        $_aSectionsets = $this->_getSectionsetsFormatted(array(), $this->aSectionsets, array(), $this->sCapability);
        return $_aSectionsets;
    }

Usage Example

 protected function _formatElementDefinitions(array $aSavedData)
 {
     $_oSectionsetsFormatter = new AdminPageFramework_Form_Model___FormatSectionsets($this->aSectionsets, $this->aArguments['structure_type'], $this->sCapability, $this->aCallbacks, $this);
     $this->aSectionsets = $_oSectionsetsFormatter->get();
     $_oFieldsetsFormatter = new AdminPageFramework_Form_Model___FormatFieldsets($this->aFieldsets, $this->aSectionsets, $this->aArguments['structure_type'], $this->aSavedData, $this->sCapability, $this->aCallbacks, $this);
     $this->aFieldsets = $_oFieldsetsFormatter->get();
 }