當前位置: 首頁>>代碼示例>>PHP>>正文


PHP strings::build方法代碼示例

本文整理匯總了PHP中strings::build方法的典型用法代碼示例。如果您正苦於以下問題:PHP strings::build方法的具體用法?PHP strings::build怎麽用?PHP strings::build使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在strings的用法示例。


在下文中一共展示了strings::build方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: logger

         break;
     }
 } else {
     $THIS_JOB = new job_id_user();
     $THIS_JOB->get_from_hashrange($JOB->id_user, $JID_MERGE_CHECK);
     // THIS JOB WAS *NOT* RUN TO FILL A PLACEHOLDER IN AN OUTPUT ENTRY FROM ANOTHER JOB
     logger("\t\t" . "THIS JOB WAS *NOT* RUN TO FILL A PLACEHOLDER IN AN OUTPUT ENTRY FROM ANOTHER JOB\n");
     if ($THIS_JOB) {
         if ($THIS_JOB->id_status == 'done') {
             // this will be the case on direct runs
             // and also this will be the ending point on nested subjobs after having
             // traced up to the completed root of the job tree
             // $STDOUT = is the value that is posted to the output expression url
             $OUTPUT_STRING = new strings();
             $OUTPUT_STRING->get_from_hashrange($THIS_JOB->str_output);
             $OUTPUT_STRING->build();
             if (isset($OUTPUT_STRING->body)) {
                 if (strlen($OUTPUT_STRING->body) > 0) {
                     // in edit mode, this won't get hit
                     $STDOUT = $OUTPUT_STRING->body;
                     logger("\t\t" . "POST-MERGE OUTPUT:\n" . substr($STDOUT, 0, 200) . "\n");
                     // CHILD JOB MERGING _MIGHT_ HAVE CHANGED THE RAW OUTPUT OF THE JOBS...UPDATE IT JUST IN CASE SO THAT ADJACENT DICTIONARY GETS THE UPDATED INFO
                     $adjacent_dictionary["[RAW_OUTPUT]"] = $STDOUT;
                     logger("\tSAVING ADJACENT DICTIONARY TO JOB\n");
                     $ad_data = array('ad' => $adjacent_dictionary);
                     $ad_encoded = base64_encode(serialize($ad_data));
                     $JOB->update(array('str_ad' => $ad_encoded));
                     /*
                     										$output_expression_jid=$JID_MERGE_CHECK;
                     										if ( strlen(trim($STDOUT))>0 )
                     										{
開發者ID:hisapi,項目名稱:his,代碼行數:31,代碼來源:controller.server.php


注:本文中的strings::build方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。