Esempio n. 1
0
 /**
  * getInstanceメソッド
  *
  * このクラスのオブジェクトを生成する。
  * 既に生成されていたら、前回と同じものを返す。
  *
  * @return object $instance
  */
 public static function getInstance()
 {
     if (!self::$_instance) {
         self::$_instance = new self();
     }
     return self::$_instance;
 }
$returnValue = $returnSessOBJ->return;
// セッション変数の破棄
$returnSessOBJ->unsetAll();
// 送信されたデータを設定
$mailElements["from_address"] = $param["from_address"];
$mailElements["from_name"] = $param["from_name"];
$mailElements["pc_to_address"] = $param["pc_to_address"];
$mailElements["mb_to_address"] = $param["mb_to_address"];
$mailElements["subject"] = $param["subject"];
$mailElements["text_body"] = $param["text_body"];
$tags = array("sesKey");
$POSTparam = $requestOBJ->makePostTag($tags);
$URLparam = $requestOBJ->makeGetTag($tags);
$smartyOBJ->assign("POSTparam", $POSTparam);
$smartyOBJ->assign("reloadParam", $POSTparam);
$AdmOrderingOBJ = AdmOrdering::getInstance();
$AdminUserOBJ = AdmUser::getInstance();
$AdmSupportMailOBJ = AdmSupportMail::getInstance();
// セッションにセットします
if ($param["sesKey"]) {
    $sesKey = $param["sesKey"];
    $searchValue = $orderingSearchSessOBJ->{$param}["sesKey"];
} else {
    $execMsgSessOBJ->errMsg[] = "パラメータがありません";
    header("location: ./?action_ordering_OrderingSearchList=1&" . $URLparam);
    exit;
}
$AdmOrderingOBJ->setWhereString($searchValue);
$smartyOBJ->assign("whereContents", $AdmOrderingOBJ->getWhereContents());
// サポートメール定型文の取得
$supportMailList = $AdmSupportMailOBJ->getSupportMailListForSelect();