public static function getAuthorUserId()
    {
        return (Yii::$app instanceof \luya\web\Application) ? Yii::$app->adminuser->getId() : self::$_authorUserId;
    }
public static function getAuthorUserId()
    {
        return (Yii::$app instanceof \luya\web\Application) ? Yii::$app->adminuser->getId() : self::$_authorUserId;
    }
public static function getAuthorUserId ( ) { return ( Yii :: $ app instanceof \ luya \ web \ Application ) ? Yii :: $ app -> adminuser -> getId ( ) : self :: $ _authorUserId ; }
Get the user id of the logged in user in web appliation context.

@return integer
Get the user id of the logged in user in web appliation context .