lib/components/types/Module.php
public function determineOwner($object)
    {
        if (isset(Yii::$app->user)
            && !Yii::$app->user->isGuest
            && isset(Yii::$app->user->identity)
            ) {
            if (!empty(Yii::$app->user->identity->object_individual_id)) {
                return Yii::$app->user->identity->object_individual_id;
            } else {
                return false; //Yii::$app->user->id;
            }
        }

        return false;
    }
public function determineOwner($object)
    {
        if (isset(Yii::$app->user)
            && !Yii::$app->user->isGuest
            && isset(Yii::$app->user->identity)
            ) {
            if (!empty(Yii::$app->user->identity->object_individual_id)) {
                return Yii::$app->user->identity->object_individual_id;
            } else {
                return false; //Yii::$app->user->id;
            }
        }

        return false;
    }
public function determineOwner ( $ object ) { if ( isset ( Yii :: $ app -> user ) && ! Yii :: $ app -> user -> isGuest && isset ( Yii :: $ app -> user -> identity ) ) { if ( ! empty ( Yii :: $ app -> user -> identity -> object_individual_id ) ) { return Yii :: $ app -> user -> identity -> object_individual_id ; } else { return false ; //Yii::$app->user->id; } } return false ; }
[[@doctodo method_description:determineOwner]].

@param [[@doctodo param_type:object]] $object [[@doctodo param_description:object]]

@return [[@doctodo return_type:determineOwner]] [[@doctodo return_description:determineOwner]]
[[ @doctodo method_description : determineOwner ]] .