Craft\RelabelPlugin::_getLabels PHP Méthode

_getLabels() private méthode

private _getLabels ( )
    private function _getLabels()
    {
        $labels = craft()->relabel->getAllLabels();
        $output = array();
        foreach ($labels as $label) {
            $output[$label->id] = array('id' => (int) $label->id, 'fieldId' => (int) $label->fieldId, 'fieldLayoutId' => (int) $label->fieldLayoutId, 'name' => Craft::t($label->name), 'instructions' => Craft::t($label->instructions));
        }
        return $output;
    }