Piwik\Plugin\ViewDataTable::getViewDataTableId PHP 메소드

getViewDataTableId() 공개 정적인 메소드

Derived classes should not override this method. They should instead declare a const ID field with the viewDataTable ID.
public static getViewDataTableId ( ) : string
리턴 string
    public static function getViewDataTableId()
    {
        $id = static::ID;
        if (empty($id)) {
            $message = sprintf('ViewDataTable %s does not define an ID. Set the ID constant to fix this issue', get_called_class());
            throw new \Exception($message);
        }
        return $id;
    }