protected function isTargetDateOnly()
    {
        if ( ! $this->filterData) {
            return false;
        }

        $target = $this->filterData->target();

        if ( ! array_key_exists($target, $this->getModelInformation()->attributes)) {
            // @codeCoverageIgnoreStart
            return false;
            // @codeCoverageIgnoreEnd
        }

        // Everything but 'date' has time element ('datetime', 'timestamp', 'time')
        return ($this->getModelInformation()->attributes[ $target ]->type == 'date');
    }
protected function isTargetDateOnly()
    {
        if ( ! $this->filterData) {
            return false;
        }

        $target = $this->filterData->target();

        if ( ! array_key_exists($target, $this->getModelInformation()->attributes)) {
            // @codeCoverageIgnoreStart
            return false;
            // @codeCoverageIgnoreEnd
        }

        // Everything but 'date' has time element ('datetime', 'timestamp', 'time')
        return ($this->getModelInformation()->attributes[ $target ]->type == 'date');
    }
protected function isTargetDateOnly ( ) { if ( ! $ this -> filterData ) { return false ; } $ target = $ this -> filterData -> target ( ) ; if ( ! array_key_exists ( $ target , $ this -> getModelInformation ( ) -> attributes ) ) { // @codeCoverageIgnoreStart return false ; // @codeCoverageIgnoreEnd } // Everything but 'date' has time element ('datetime', 'timestamp', 'time') return ( $ this -> getModelInformation ( ) -> attributes [ $ target ] -> type == 'date' ) ; }
Returns whether the target date column is date only.

@return bool     defaults to false if unknown.
Returns whether the target date column is date only .