src/Versioned.php
public function augmentDataQueryCreation(SQLSelect &$query, DataQuery &$dataQuery)
    {
        // Convert reading mode to dataquery params and assign
        $args = ReadingMode::toDataQueryParams(Versioned::get_reading_mode());
        if ($args) {
            foreach ($args as $key => $value) {
                $dataQuery->setQueryParam($key, $value);
            }
        }
    }
public function augmentDataQueryCreation(SQLSelect &$query, DataQuery &$dataQuery)
    {
        // Convert reading mode to dataquery params and assign
        $args = ReadingMode::toDataQueryParams(Versioned::get_reading_mode());
        if ($args) {
            foreach ($args as $key => $value) {
                $dataQuery->setQueryParam($key, $value);
            }
        }
    }
public function augmentDataQueryCreation ( SQLSelect & $ query , DataQuery & $ dataQuery ) { // Convert reading mode to dataquery params and assign $ args = ReadingMode :: toDataQueryParams ( Versioned :: get_reading_mode ( ) ) ; if ( $ args ) { foreach ( $ args as $ key => $ value ) { $ dataQuery -> setQueryParam ( $ key , $ value ) ; } } }
Amend freshly created DataQuery objects with versioned-specific
information.

@param SQLSelect $query
@param DataQuery $dataQuery
Amend freshly created DataQuery objects with versioned - specific information .