public static function extractWhereValues($conditions) 
    {
        $values = array();
        if (!$conditions) {
            return $values;
        }

        if (is_array($conditions)) {
            if (array_values($conditions) !== $conditions) {
                $values = self::_extractWhereAssociativeValues($conditions);
            } else {
                $values = self::_extractWhereRegularValues($conditions);
            }
        }
        return $values;
    }
public static function extractWhereValues($conditions) 
    {
        $values = array();
        if (!$conditions) {
            return $values;
        }

        if (is_array($conditions)) {
            if (array_values($conditions) !== $conditions) {
                $values = self::_extractWhereAssociativeValues($conditions);
            } else {
                $values = self::_extractWhereRegularValues($conditions);
            }
        }
        return $values;
    }
public static function extractWhereValues ( $ conditions ) { $ values = array ( ) ; if ( ! $ conditions ) { return $ values ; } if ( is_array ( $ conditions ) ) { if ( array_values ( $ conditions ) !== $ conditions ) { $ values = self :: _extractWhereAssociativeValues ( $ conditions ) ; } else { $ values = self :: _extractWhereRegularValues ( $ conditions ) ; } } return $ values ; }
Extract where values from conditions

@param mixed $conditions to extract values

@return mixed $values
Extract where values from conditions