public static function getNonBlameds($user = null)
    {
        $noInit = static::buildNoInitModel();
        /* @var $noInit static */
        $createdByAttribute = $noInit->createdByAttribute;
        if (!$user) {
            $user = \Yii::$app->user->identity;
        }
        $cond = [
            $createdByAttribute => $user->getGUID(),
            $noInit->multiBlamesAttribute => ''
        ];
        return static::find()->where($cond)->all();
    }
public static function getNonBlameds($user = null)
    {
        $noInit = static::buildNoInitModel();
        /* @var $noInit static */
        $createdByAttribute = $noInit->createdByAttribute;
        if (!$user) {
            $user = \Yii::$app->user->identity;
        }
        $cond = [
            $createdByAttribute => $user->getGUID(),
            $noInit->multiBlamesAttribute => ''
        ];
        return static::find()->where($cond)->all();
    }
public static function getNonBlameds ( $ user = null ) { $ noInit = static :: buildNoInitModel ( ) ; /* @var $noInit static */ $ createdByAttribute = $ noInit -> createdByAttribute ; if ( ! $ user ) { $ user = \ Yii :: $ app -> user -> identity ; } $ cond = [ $ createdByAttribute => $ user -> getGUID ( ) , $ noInit -> multiBlamesAttribute => '' ] ; return static :: find ( ) -> where ( $ cond ) -> all ( ) ; }
Get all records which without any blames.
@param BaseUserModel $user
@return array all non-blameds.
Get all records which without any blames .