Piwik\Columns\

Discriminator

Since Matomo 3.1.0

Methods

The class defines the following methods:

__construct()

Join constructor.

Signature

  • It accepts the following parameter(s):

    • $table (string) — unprefixed table name
    • $discriminatorColumn (null|string) —

    • $discriminatorValue (null|int) — should be only hard coded, safe values.

  • It throws one of the following exceptions:

isValid()

Signature

  • It does not return anything or a mixed result.

getTable()

Signature

  • It returns a string value.

getColumn()

Signature

  • It returns a string value.

getValue()

Signature

  • Returns: int|null