public function isStartTimeInFuture($table, $record)
    {
        $startTimeInFuture = false;

        if (isset($this->tca[$table]['ctrl']['enablecolumns']['starttime'])) {
            $startTimeField = $this->tca[$table]['ctrl']['enablecolumns']['starttime'];
            $startTimeInFuture = $record[$startTimeField] > $this->getTime();
        }

        return $startTimeInFuture;
    }
public function isStartTimeInFuture($table, $record)
    {
        $startTimeInFuture = false;

        if (isset($this->tca[$table]['ctrl']['enablecolumns']['starttime'])) {
            $startTimeField = $this->tca[$table]['ctrl']['enablecolumns']['starttime'];
            $startTimeInFuture = $record[$startTimeField] > $this->getTime();
        }

        return $startTimeInFuture;
    }
public function isStartTimeInFuture ( $ table , $ record ) { $ startTimeInFuture = false ; if ( isset ( $ this -> tca [ $ table ] [ 'ctrl' ] [ 'enablecolumns' ] [ 'starttime' ] ) ) { $ startTimeField = $ this -> tca [ $ table ] [ 'ctrl' ] [ 'enablecolumns' ] [ 'starttime' ] ; $ startTimeInFuture = $ record [ $ startTimeField ] > $ this -> getTime ( ) ; } return $ startTimeInFuture ; }
Checks whether a start time field exists for the record's table and if so
determines if a time is set and whether that time is in the future,
making the record invisible on the website.

@param string $table The table name.
@param array $record An array with record fields that may affect visibility.
@return bool True if the record's start time is in the future, FALSE otherwise.
Checks whether a start time field exists for the record s table and if so determines if a time is set and whether that time is in the future making the record invisible on the website .