src/Charcoal/Admin/Widget/TableWidget.php
public function viewOptions($propertyIdent)
    {
        if (!$propertyIdent) {
            return [];
        }

        if ($propertyIdent instanceof PropertyInterface) {
            $propertyIdent = $propertyIdent->ident();
        }

        $options = $this->propertiesOptions();

        if (isset($options[$propertyIdent]['view_options'])) {
            return $options[$propertyIdent]['view_options'];
        } else {
            return [];
        }
    }
public function viewOptions($propertyIdent)
    {
        if (!$propertyIdent) {
            return [];
        }

        if ($propertyIdent instanceof PropertyInterface) {
            $propertyIdent = $propertyIdent->ident();
        }

        $options = $this->propertiesOptions();

        if (isset($options[$propertyIdent]['view_options'])) {
            return $options[$propertyIdent]['view_options'];
        } else {
            return [];
        }
    }
public function viewOptions ( $ propertyIdent ) { if ( ! $ propertyIdent ) { return [ ] ; } if ( $ propertyIdent instanceof PropertyInterface ) { $ propertyIdent = $ propertyIdent -> ident ( ) ; } $ options = $ this -> propertiesOptions ( ) ; if ( isset ( $ options [ $ propertyIdent ] [ 'view_options' ] ) ) { return $ options [ $ propertyIdent ] [ 'view_options' ] ; } else { return [ ] ; } }
Retrieve the view options for the given property.

@param  string $propertyIdent The property identifier to lookup.
@return array
Retrieve the view options for the given property .