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


PHP DatabaseOperation::convertSqlStatementWithoutKeyToArrayComplete方法代码示例

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


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

示例1: getValidationDateByIdFtaChapitreAndIdFta

 /**
  * On récupère la date de validation pour une id fta et un chapitre donnée
  * @param int $paramIdFta
  * @param int $paramIdFtaChapitre
  * @return string
  */
 public static function getValidationDateByIdFtaChapitreAndIdFta($paramIdFta, $paramIdFtaChapitre)
 {
     $arrayDateDeValidation = DatabaseOperation::convertSqlStatementWithoutKeyToArrayComplete("SELECT " . self::FIELDNAME_DATE_VALIDATION_SUIVI_PROJET . " FROM " . self::TABLENAME . " WHERE " . self::FIELDNAME_ID_FTA_CHAPITRE . "=" . $paramIdFtaChapitre . " AND " . self::FIELDNAME_ID_FTA . "=" . $paramIdFta);
     /**
      * Changment de format de date
      */
     $date = FtaController::changementDuFormatDeDateFR($arrayDateDeValidation["0"]);
     return $date;
 }
开发者ID:SalokineTerata,项目名称:intranet,代码行数:15,代码来源:FtaSuiviProjetModel.php

示例2: getIdFtaVerrouillageChamps

 /**
  * On récupère l'id du champs et du dossier primaire en cours
  * @param int $paramIdFtaDossierPriamaire
  * @param string $paramFieldName
  * @return int
  */
 public static function getIdFtaVerrouillageChamps($paramIdFtaDossierPriamaire, $paramFieldName)
 {
     $arrayId = DatabaseOperation::convertSqlStatementWithoutKeyToArrayComplete("SELECT " . self::KEYNAME . " FROM " . self::TABLENAME . " WHERE " . self::FIELDNAME_DOSSIER_FTA_PRIMAIRE . "=" . $paramIdFtaDossierPriamaire . " AND " . self::FIELDNAME_FIELD_NAME . "=\"" . $paramFieldName . "\"");
     if ($arrayId) {
         foreach ($arrayId as $rowsId) {
             $keyValue = $rowsId;
         }
     } else {
         $titre = UserInterfaceMessage::FR_WARNING_DATA_VERROUILLAGE_TITLE;
         $message = UserInterfaceMessage::FR_WARNING_DATA_VERROUILLAGE;
         Lib::showMessage($titre, $message, $redirection);
     }
     return $keyValue;
 }
开发者ID:SalokineTerata,项目名称:intranet,代码行数:20,代码来源:FtaVerrouillageChampsModel.php

示例3: getArrayIdIntranetActionWithAccesRightsToFtaByUser

 /**
  * On récupère le tableau la liste des id intranet Action  ayant accès aux module FTA par utilsateur
  * @return array
  */
 public static function getArrayIdIntranetActionWithAccesRightsToFtaByUser($paramIdUser)
 {
     $arrayAction = DatabaseOperation::convertSqlStatementWithoutKeyToArrayComplete("SELECT DISTINCT " . IntranetDroitsAccesModel::FIELDNAME_ID_INTRANET_ACTIONS . " FROM " . IntranetDroitsAccesModel::TABLENAME . " WHERE " . IntranetDroitsAccesModel::TABLENAME . "." . IntranetDroitsAccesModel::FIELDNAME_ID_USER . " = " . $paramIdUser . " AND " . IntranetDroitsAccesModel::TABLENAME . "." . IntranetDroitsAccesModel::FIELDNAME_ID_INTRANET_MODULES . " = '" . IntranetModulesModel::ID_MODULES_FTA . "' " . " AND " . IntranetDroitsAccesModel::TABLENAME . "." . IntranetDroitsAccesModel::FIELDNAME_NIVEAU_INTRANET_DROITS_ACCES . " <>'" . IntranetNiveauAccesModel::NIVEAU_GENERIC_FALSE . "'");
     return $arrayAction;
 }
开发者ID:SalokineTerata,项目名称:intranet,代码行数:9,代码来源:IntranetDroitsAccesModel.php

示例4: getIdFtaChapitreBetweenArrayByWorkflowAndArrayByColumn

 public static function getIdFtaChapitreBetweenArrayByWorkflowAndArrayByColumn($paramIdFtaWorkflow, $paramArrayByColumn)
 {
     $arrayByWorkflow = DatabaseOperation::convertSqlStatementWithoutKeyToArrayComplete("SELECT " . self::FIELDNAME_ID_FTA_CHAPITRE . " FROM " . self::TABLENAME . " WHERE " . self::FIELDNAME_ID_FTA_WORKFLOW . "=" . $paramIdFtaWorkflow);
     $value = FtaController::getFirstValueArrayInterset($paramArrayByColumn, $arrayByWorkflow);
     return $value;
 }
开发者ID:SalokineTerata,项目名称:intranet,代码行数:6,代码来源:FtaWorkflowStructureModel.php

示例5: cancelIdArcadiaTransaction

 /**
  * On désactive pour l'id Fta en cours son id Transaction
  * @param int $paramIdFta
  */
 public static function cancelIdArcadiaTransaction($paramIdFta)
 {
     $arrayCheck = DatabaseOperation::convertSqlStatementWithoutKeyToArrayComplete("SELECT " . self::KEYNAME . " FROM " . self::TABLENAME . " WHERE " . self::FIELDNAME_ID_FTA . "=" . $paramIdFta . " AND " . self::FIELDNAME_ACTIF . "=" . self::OUI . " ORDER BY " . self::KEYNAME . " DESC ");
     if ($arrayCheck) {
         $key = $arrayCheck["0"];
         DatabaseOperation::execute("UPDATE " . self::TABLENAME . " SET " . self::FIELDNAME_ACTIF . "=" . self::NON . " WHERE " . self::KEYNAME . "=" . $key);
     }
 }
开发者ID:SalokineTerata,项目名称:intranet,代码行数:12,代码来源:Fta2ArcadiaTransactionModel.php


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