当前位置: 首页>>代码示例>>PHP>>正文


PHP Member::getEmail方法代码示例

本文整理汇总了PHP中Member::getEmail方法的典型用法代码示例。如果您正苦于以下问题:PHP Member::getEmail方法的具体用法?PHP Member::getEmail怎么用?PHP Member::getEmail使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Member的用法示例。


在下文中一共展示了Member::getEmail方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: sendPasswordResetLink

 public static function sendPasswordResetLink(\Member $member)
 {
     $email = $member->getEmail();
     $locale = Localizer::get('mail.password_reset');
     $num = $member->getNum();
     $now = time();
     $email = $member->getEmail();
     $href = Router::toModule('manage', 'do_reset_password', ['num' => $num, 'exp' => time(), 'hash' => Cryption::getPasswordResetToken($num, $now, $email)]);
     return self::send($email, \Tbmt\view\Factory::buildMemberFullNameString($member), $locale['subject'], Localizer::insert($locale['body'], ['link' => $href], false));
 }
开发者ID:nikonehauser,项目名称:pt,代码行数:10,代码来源:MailHelper.php

示例2: signinAction

 public function signinAction()
 {
     // use members : signin
     if (isset($_POST['email']) && isset($_POST['password'])) {
         $signInOkay = Members::signIn($_POST['email'], $_POST['password']);
         if ($signInOkay == TRUE) {
             $connectedMember = new Member($_POST['email']);
             $_SESSION['connected'] = TRUE;
             $_SESSION['email'] = $connectedMember->getEmail();
             $_SESSION['isAdmin'] = $connectedMember->isAdmin();
             $_SESSION['idMember'] = $connectedMember->getID();
             $_SESSION['firstname'] = $connectedMember->getFirstname();
             $_SESSION['lastname'] = $connectedMember->getLastname();
             unset($_POST);
             $this->redirect('/profile/edit');
         } else {
             $_SESSION['connected'] = FALSE;
             $this->msgfailed = "Connection Failed";
         }
     }
     $tableau = array();
     $tableau[0] = 'none';
     $tableau[1] = 'none';
     $tableau[2] = 'none';
     $tableau[3] = 'none';
     $this->activeBar = $tableau;
 }
开发者ID:rjoganah,项目名称:Healthcare_social_network,代码行数:27,代码来源:MembersController.php

示例3: uploadfileAction

 public function uploadfileAction()
 {
     $tableau = array();
     $tableau[0] = 'none';
     $tableau[1] = 'none';
     $tableau[2] = 'none';
     $tableau[3] = 'none';
     $this->activeBar = $tableau;
     if ($_SESSION['connected'] == TRUE && isset($_SESSION['connected'])) {
         if (isset($_FILES['fileUpload'])) {
             $uploaddir = 'var/www/uploads/';
             $nameFile = $_SESSION['idMember'] . '.' . basename($_FILES['fileUpload']['type']);
             $uploadfile = $uploaddir . $nameFile;
             if (move_uploaded_file($_FILES['fileUpload']['tmp_name'], $uploadfile)) {
                 $member = new Member($_SESSION['email']);
                 $member->saveCoordonnate($member->getSSN(), $member->getPhone(), $member->getEmail(), $nameFile);
                 $this->redirect('/profile/editcoordonnate');
             }
         }
     } else {
         $this->redirect('/index/index');
     }
 }
开发者ID:rjoganah,项目名称:Healthcare_social_network,代码行数:23,代码来源:ProfileController.php

示例4: formatDate

?>
           </div></div>
                                <div class="row"><div class="columns six left">Gender:         </div>   <div class="columns six right"><?php 
echo $Member->getGender();
?>
                  </div></div>
                                <div class="row"><div class="columns six left">Date of Birth:  </div>   <div class="columns six right"><?php 
echo formatDate($Member->getDateOfBirth());
?>
 </div></div>
                                <div class="row"><div class="columns six left">Contact No:     </div>   <div class="columns six right"><?php 
echo $Member->getContactNo();
?>
               </div></div>
                                <div class="row"><div class="columns six left">Email:          </div>   <div class="columns six right"><?php 
echo $Member->getEmail();
?>
                   </div></div>
                                <div class="row"><div class="columns six left">Student ID:     </div>   <div class="columns six right"><?php 
echo $Member->getStudentID();
?>
               </div></div>
                                <div class="row"><div class="columns six left">Department:     </div>   <div class="columns six right"><?php 
echo $Member->getDepartment();
?>
              </div></div>
                                <div class="row"><div class="columns six left">Batch:          </div>   <div class="columns six right"><?php 
echo format_position($Member->getBatch());
?>
  </div></div>
                                <div class="row"><div class="columns six left">Admission:      </div>   <div class="columns six right"><?php 
开发者ID:sabbirrahman,项目名称:uuictclub,代码行数:31,代码来源:index.php

示例5: getParams

 private function getParams(Member $member)
 {
     $params = array(':user_id' => $member->getUser_id(), ':username' => $member->getUsername(), ':password' => $member->getPassword(), ':first_name' => $member->getFirst_name(), ':last_name' => $member->getLast_name(), ':email' => $member->getEmail(), ':role' => $member->getRole());
     return $params;
 }
开发者ID:Wooddu,项目名称:MMNZ,代码行数:5,代码来源:memberDao.php

示例6: regist

    public function regist()
    {
    }
    // 登録完了メールの送信
    public function registMail()
    {
    }
    // 会員情報の編集
    public function edit()
    {
    }
    // パスワードの再発行
    public function resendPassword()
    {
    }
    // 退会処理
    public function delete()
    {
    }
}
$member = new Member();
$member->setID("1");
$member->setLastname('あなたの姓');
$member->setFirstname('あなたの名');
$member->setEmail('あなたのメールアドレス');
$member->setPassword('パスワード');
print $member->getID() . "<BR>";
print $member->getLastname() . "<BR>";
print $member->getFirstname() . "<BR>";
print $member->getEmail() . "<BR>";
print $member->getPassword() . "<BR>";
开发者ID:miyamoto-shinji,项目名称:php_01,代码行数:31,代码来源:setget.php

示例7: DmQuery

$_POST["barcodeNmbr"] = $mbr->getBarcodeNmbr();
$mbr->setLastChangeUserid($_SESSION["userid"]);
$mbr->setLastName($_POST["lastName"]);
$_POST["lastName"] = $mbr->getLastName();
$mbr->setFirstName($_POST["firstName"]);
$_POST["firstName"] = $mbr->getFirstName();
$mbr->setAddress($_POST["address"]);
$_POST["address"] = $mbr->getAddress();
$mbr->setHomePhone($_POST["homePhone"]);
$_POST["homePhone"] = $mbr->getHomePhone();
$mbr->setWorkPhone($_POST["workPhone"]);
$_POST["workPhone"] = $mbr->getWorkPhone();
$mbr->setCel($_POST["cel"]);
$_POST["cel"] = $mbr->getCel();
$mbr->setEmail($_POST["email"]);
$_POST["email"] = $mbr->getEmail();
$mbr->setFoto($_POST["foto"]);
$_POST["foto"] = $mbr->getFoto();
$mbr->setPassUser($_POST["passUser"]);
$_POST["passUser"] = $mbr->getPassUser();
$mbr->setBornDt($_POST["bornDt"]);
$_POST["bornDt"] = $mbr->getBornDt();
$mbr->setOther($_POST["other"]);
$_POST["other"] = $mbr->getOther();
$mbr->setClassification($_POST["classification"]);
$mbr->setStatus($_POST["status"]);
$dmQ = new DmQuery();
$dmQ->connect();
$customFields = $dmQ->getAssoc('member_fields_dm');
$dmQ->close();
foreach ($customFields as $name => $title) {
开发者ID:Giordano-Bruno,项目名称:GiordanoBruno,代码行数:31,代码来源:user_edit.php

示例8: calcHash

 public static function calcHash(\Member $member)
 {
     return sha1($member->getFirstName() . $member->getLastName() . $member->getEmail() . uniqid() . microtime());
 }
开发者ID:nikonehauser,项目名称:ptclient,代码行数:4,代码来源:Member.php

示例9:

                                value="<?php 
echo $Phone ? $Phone : $Member->getContactNo();
?>
" required />
                                
                                <label for="Facebook">Facebook</label>
                                <input type="text" id="Facebook" name="Facebook" placeholder="ex: https://www.facebook.com/your_username"
                                value="<?php 
echo $Facebook ? $Facebook : $Member->getFacebook();
?>
" />
                                
                                <label for="Mail">*Email</label>
                                <input type="email" id="Mail" name="Mail" placeholder="example@example.com"
                                value="<?php 
echo $Mail ? $Mail : $Member->getEmail();
?>
" required/>
                                <?php 
if ($Invalid_Mail) {
    ?>
<div class="warning"><?php 
    echo $Invalid_Mail;
    ?>
</div><?php 
}
?>
                                <?php 
if ($Email_Exist) {
    ?>
<div class="warning"><?php 
开发者ID:sabbirrahman,项目名称:uuictclub,代码行数:31,代码来源:updateinfo.php

示例10: array

$u_values['Phone'] = "";
$u_values['Mail'] = "";
$u_values['Facebook'] = "";
extract($u_values);
$u_optional = array('NamePrefix', 'NickName', 'OLD_PWD', 'NEW_PWD', 'RE_PWD', 'Facebook');
if (isset($_POST['Update_Info'])) {
    foreach ($_POST as $key => $value) {
        $value = pure_it($value);
        if (!in_array($key, $u_optional)) {
            empty($value) ? $u_missing = "Please fill out all the fields marked with an (*) asterisk!" : (${$key} = $value);
        } else {
            ${$key} = $value;
        }
    }
    if (!$u_missing) {
        if (!empty($Mail) && $Member->getEmail() != $Mail) {
            // Email Validation:
            $Invalid_Mail = validate_email($Mail, $error);
            if (!$Invalid_Mail) {
                // Checking if Email Exist:
                $Email_Exist = isEmailExist($Mail, $error);
            }
        }
        if ($_FILES["Image"]["size"]) {
            // Checking if File Size Exceded Limit:
            $ImageSize_err = validate_image_size($_FILES["Image"]["size"], $error);
            // Checking if the File is Invalid:
            $ImageType_err = validate_image_type($_FILES["Image"]["type"], $error);
        }
        if ($OLD_PWD) {
            // Password Check:
开发者ID:sabbirrahman,项目名称:uuictclub,代码行数:31,代码来源:updateinfo.php


注:本文中的Member::getEmail方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。