Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 15349 | Rev 16766 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 15349 Rev 15351
Línea 2074... Línea 2074...
2074
    public function usersWhoAppliedAction()
2074
    public function usersWhoAppliedAction()
2075
    {
2075
    {
2076
        $currentUserPlugin = $this->plugin('currentUserPlugin');
2076
        $currentUserPlugin = $this->plugin('currentUserPlugin');
2077
        $currentUser = $currentUserPlugin->getUser();
2077
        $currentUser = $currentUserPlugin->getUser();
2078
        $currentCompany = $currentUserPlugin->getCompany();
2078
        $currentCompany = $currentUserPlugin->getCompany();
-
 
2079
        
-
 
2080
        $currentNetworkPlugin = $this->plugin('currentNetworkPlugin');
-
 
2081
        $network = $currentNetworkPlugin->getNetwork();
Línea 2079... Línea 2082...
2079
 
2082
 
2080
 
2083
 
Línea 2112... Línea 2115...
2112
 
2115
 
2113
 
2116
 
Línea 2114... Línea -...
2114
        $request = $this->getRequest();
-
 
2115
        if ($request->isGet()) {
-
 
2116
 
-
 
2117
            $sandbox = $this->config['leaderslinked.runmode.sandbox'];
-
 
2118
            if ($sandbox) {
-
 
2119
                $user_profile_url = $this->config['leaderslinked.frontend.sandbox_user_profile'];
-
 
2120
            } else {
-
 
Línea 2121... Línea 2117...
2121
                $user_profile_url = $this->config['leaderslinked.frontend.production_user_profile'];
2117
        $request = $this->getRequest();
2122
            }
2118
        if ($request->isGet()) {
2123
 
2119
 
2124
 
2120
 
Línea 2140... Línea 2136...
2140
            foreach ($records as $record) {
2136
            foreach ($records as $record) {
2141
                $item = [
2137
                $item = [
2142
                    'first_name' => $record['first_name'],
2138
                    'first_name' => $record['first_name'],
2143
                    'last_name' => $record['last_name'],
2139
                    'last_name' => $record['last_name'],
2144
                    'email' => $record['email'],
2140
                    'email' => $record['email'],
2145
                    'link_view' => str_replace('[uuid]', $record['user_profile_uuid'], $user_profile_url),
2141
                    'link_view' => 'https://'. $network->main_hostname . '/profile/view/' . $record['user_profile_uuid'],
Línea 2146... Línea 2142...
2146
 
2142
 
Línea 2147... Línea 2143...
2147
                ];
2143
                ];
2148
 
2144