public static function getAllBlames($user)
    {
        $noInit = static::buildNoInitModel();
        if (empty($noInit->multiBlamesClass) ||
            !is_string($noInit->multiBlamesClass) ||
            $noInit->multiBlamesAttribute === false) {
            return null;
        }
        $multiBlamesClass = $noInit->multiBlamesClass;
        $createdByAttribute = $noInit->createdByAttribute;
        return $multiBlamesClass::findAll([$createdByAttribute => $user->getGUID()]);
    }
public static function getAllBlames($user)
    {
        $noInit = static::buildNoInitModel();
        if (empty($noInit->multiBlamesClass) ||
            !is_string($noInit->multiBlamesClass) ||
            $noInit->multiBlamesAttribute === false) {
            return null;
        }
        $multiBlamesClass = $noInit->multiBlamesClass;
        $createdByAttribute = $noInit->createdByAttribute;
        return $multiBlamesClass::findAll([$createdByAttribute => $user->getGUID()]);
    }
public static function getAllBlames ( $ user ) { $ noInit = static :: buildNoInitModel ( ) ; if ( empty ( $ noInit -> multiBlamesClass ) || ! is_string ( $ noInit -> multiBlamesClass ) || $ noInit -> multiBlamesAttribute === false ) { return null ; } $ multiBlamesClass = $ noInit -> multiBlamesClass ; $ createdByAttribute = $ noInit -> createdByAttribute ; return $ multiBlamesClass :: findAll ( [ $ createdByAttribute => $ user -> getGUID ( ) ] ) ; }
Get all the blames of record.
@param BaseUserModel $user
@return array all blames.
Get all the blames of record .