public function getColumnNames(GetPropertyOptionsEvent $event)
    {
        if (!$this->isBackendOptionRequestFor($event, ['tag_column', 'tag_alias', 'tag_sorting'])) {
            return;
        }

        $result = $this->getColumnNamesFrom($event->getModel()->getProperty('tag_table'));

        if (!empty($result)) {
            \asort($result);
            $event->setOptions($result);
        }
    }
public function getColumnNames(GetPropertyOptionsEvent $event)
    {
        if (!$this->isBackendOptionRequestFor($event, ['tag_column', 'tag_alias', 'tag_sorting'])) {
            return;
        }

        $result = $this->getColumnNamesFrom($event->getModel()->getProperty('tag_table'));

        if (!empty($result)) {
            \asort($result);
            $event->setOptions($result);
        }
    }
public function getColumnNames ( GetPropertyOptionsEvent $ event ) { if ( ! $ this -> isBackendOptionRequestFor ( $ event , [ 'tag_column' , 'tag_alias' , 'tag_sorting' ] ) ) { return ; } $ result = $ this -> getColumnNamesFrom ( $ event -> getModel ( ) -> getProperty ( 'tag_table' ) ) ; if ( ! empty ( $ result ) ) { \ asort ( $ result ) ; $ event -> setOptions ( $ result ) ; } }
Retrieve all column names for the current selected table.

@param GetPropertyOptionsEvent $event The event.

@return void
Retrieve all column names for the current selected table .