public function getFollowers(){

        $followers = array();
        $sections = $this->getSections();

        if($sections != null){
            foreach($sections as $section){

                $users = $section->getUsers();
                if($users != null){
                    foreach($users as $user){
                        $followers[] = $user;
                    }
                }

            }
        }

        return $followers;

    }
public function getFollowers(){

        $followers = array();
        $sections = $this->getSections();

        if($sections != null){
            foreach($sections as $section){

                $users = $section->getUsers();
                if($users != null){
                    foreach($users as $user){
                        $followers[] = $user;
                    }
                }

            }
        }

        return $followers;

    }
public function getFollowers ( ) { $ followers = array ( ) ; $ sections = $ this -> getSections ( ) ; if ( $ sections != null ) { foreach ( $ sections as $ section ) { $ users = $ section -> getUsers ( ) ; if ( $ users != null ) { foreach ( $ users as $ user ) { $ followers [ ] = $ user ; } } } } return $ followers ; }
Get Followers by iterating over all Sections
@return Model\User[]
Get Followers by iterating over all Sections