concrete/src/Permission/Access/Entity/GroupCombinationEntity.php
public function load()
    {
        $app = Facade::getFacadeApplication();
        /** @var $database \Concrete\Core\Database\Connection\Connection */
        $database = $app->make('database')->connection();
        $gIDs = $database->fetchAll(
            'select gID from PermissionAccessEntityGroups
            where peID = ? order by gID asc',
            [$this->peID]
        );
        if ($gIDs && is_array($gIDs)) {
            for ($i = 0; $i < count($gIDs); ++$i) {
                $g = Group::getByID($gIDs[$i]['gID']);
                if (is_object($g)) {
                    $this->groups[] = $g;
                    $this->label .= $g->getGroupDisplayName();
                    if ($i + 1 < count($gIDs)) {
                        $this->label .= t(
                            /*i18n: used for combining Group Display Names,
                             eg GroupName1 + GroupName2 */
                            ' + '
                        );
                    }
                }
            }
        }
    }
public function load()
    {
        $app = Facade::getFacadeApplication();
        /** @var $database \Concrete\Core\Database\Connection\Connection */
        $database = $app->make('database')->connection();
        $gIDs = $database->fetchAll(
            'select gID from PermissionAccessEntityGroups
            where peID = ? order by gID asc',
            [$this->peID]
        );
        if ($gIDs && is_array($gIDs)) {
            for ($i = 0; $i < count($gIDs); ++$i) {
                $g = Group::getByID($gIDs[$i]['gID']);
                if (is_object($g)) {
                    $this->groups[] = $g;
                    $this->label .= $g->getGroupDisplayName();
                    if ($i + 1 < count($gIDs)) {
                        $this->label .= t(
                            /*i18n: used for combining Group Display Names,
                             eg GroupName1 + GroupName2 */
                            ' + '
                        );
                    }
                }
            }
        }
    }
public function load ( ) { $ app = Facade :: getFacadeApplication ( ) ; /** @var $database \Concrete\Core\Database\Connection\Connection */ $ database = $ app -> make ( 'database' ) -> connection ( ) ; $ gIDs = $ database -> fetchAll ( 'select gID from PermissionAccessEntityGroups
            where peID = ? order by gID asc' , [ $ this -> peID ] ) ; if ( $ gIDs && is_array ( $ gIDs ) ) { for ( $ i = 0 ; $ i < count ( $ gIDs ) ; ++ $ i ) { $ g = Group :: getByID ( $ gIDs [ $ i ] [ 'gID' ] ) ; if ( is_object ( $ g ) ) { $ this -> groups [ ] = $ g ; $ this -> label .= $ g -> getGroupDisplayName ( ) ; if ( $ i + 1 < count ( $ gIDs ) ) { $ this -> label .= t ( /*i18n: used for combining Group Display Names,
                             eg GroupName1 + GroupName2 */ ' + ' ) ; } } } } }
Function used to load the properties for this
GroupCombinationEntity from the database.

@return void
Function used to load the properties for this GroupCombinationEntity from the database .