public static function get($key)
    {
        $noInitModel = static::buildNoInitModel();
        $model = static::find()->where([$noInitModel->idAttribute => $key])->one();
        if ($model) {
            return $model->value;
        }
        return null;
    }
public static function get($key)
    {
        $noInitModel = static::buildNoInitModel();
        $model = static::find()->where([$noInitModel->idAttribute => $key])->one();
        if ($model) {
            return $model->value;
        }
        return null;
    }
public static function get ( $ key ) { $ noInitModel = static :: buildNoInitModel ( ) ; $ model = static :: find ( ) -> where ( [ $ noInitModel -> idAttribute => $ key ] ) -> one ( ) ; if ( $ model ) { return $ model -> value ; } return null ; }
Get meta value by specified key. If key doesn't exist, null will be given.
@param string $key meta key.
@return string meta value.
Get meta value by specified key . If key doesn t exist null will be given .