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


PHP Version::getOrganizationElement方法代碼示例

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


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

示例1: __construct

 /**
  * @param Version               $version
  * @param Guard                 $auth
  * @param OrganizationData      $orgData
  * @param OrganizationPublished $orgPublished
  * @param Logger                $logger
  * @param TwitterAPI            $twitter
  */
 public function __construct(Version $version, Guard $auth, OrganizationData $orgData, OrganizationPublished $orgPublished, Logger $logger, TwitterAPI $twitter)
 {
     $this->version = $version;
     $this->repo = $version->getOrganizationElement()->getRepository();
     $this->orgElement = $version->getOrganizationElement();
     $this->orgData = $orgData;
     $this->orgPublished = $orgPublished;
     $this->logger = $logger;
     $this->auth = $auth;
     $this->twitterApi = $twitter;
 }
開發者ID:younginnovations,項目名稱:aidstream,代碼行數:19,代碼來源:OrganizationManager.php

示例2:

 /**
  * @param Version $version
  * @param Log     $log
  * @param Guard   $auth
  */
 function __construct(Version $version, Log $log, Guard $auth)
 {
     $this->repo = $version->getOrganizationElement()->getDocumentLink()->getRepository();
     $this->version = $version;
     $this->log = $log;
     $this->auth = $auth;
 }
開發者ID:younginnovations,項目名稱:aidstream,代碼行數:12,代碼來源:DocumentLinkManager.php

示例3:

 /**
  * @param Version $version
  * @param Log     $log
  * @param Guard   $auth
  */
 function __construct(Version $version, Log $log, Guard $auth)
 {
     $this->repo = $version->getOrganizationElement()->getRecipientCountryBudget()->getRepository();
     $this->auth = $auth;
     $this->log = $log;
     $this->version = $version;
 }
開發者ID:younginnovations,項目名稱:aidstream,代碼行數:12,代碼來源:RecipientCountryBudgetManager.php

示例4:

 /**
  * @param Version         $version
  * @param Guard           $auth
  * @param DatabaseManager $database
  * @param DbLogger        $dbLogger
  * @param Logger          $logger
  * @internal param Log $log
  */
 function __construct(Version $version, Guard $auth, DatabaseManager $database, DbLogger $dbLogger, Logger $logger)
 {
     $this->auth = $auth;
     $this->database = $database;
     $this->dbLogger = $dbLogger;
     $this->logger = $logger;
     $this->repo = $version->getOrganizationElement()->getRecipientRegionBudgetRepository();
 }
開發者ID:younginnovations,項目名稱:aidstream,代碼行數:16,代碼來源:RecipientRegionBudgetManager.php

示例5:

 /**
  * @param Version         $version
  * @param Guard           $auth
  * @param DatabaseManager $database
  * @param DbLogger        $dbLogger
  * @param Logger          $logger
  */
 function __construct(Version $version, Guard $auth, DatabaseManager $database, DbLogger $dbLogger, Logger $logger)
 {
     $this->auth = $auth;
     $this->database = $database;
     $this->dbLogger = $dbLogger;
     $this->logger = $logger;
     $this->totalExpenditureRepo = $version->getOrganizationElement()->getTotalExpenditureRepository();
 }
開發者ID:younginnovations,項目名稱:aidstream,代碼行數:15,代碼來源:TotalExpenditureManager.php

示例6:

 function __construct(Version $version)
 {
     return $version->getOrganizationElement()->getCreateOrgReportingOrgRequest();
 }
開發者ID:younginnovations,項目名稱:aidstream,代碼行數:4,代碼來源:CreateOrgReportingOrgRequestManager.php

示例7:

 function __construct(Version $version)
 {
     $this->req = $version->getOrganizationElement()->getRecipientOrgBudgetRequest();
     return $this->req;
 }
開發者ID:younginnovations,項目名稱:aidstream,代碼行數:5,代碼來源:CreateOrgRecipientOrgBudgetRequestManager.php

示例8:

 function __construct(Version $version)
 {
     $this->req = $version->getOrganizationElement()->getDocumentLinkRequest();
     return $this->req;
 }
開發者ID:younginnovations,項目名稱:aidstream,代碼行數:5,代碼來源:DocumentLinkRequestManager.php

示例9:

 function __construct(Version $version)
 {
     return $version->getOrganizationElement()->getRecipientRegionBudgetRequest();
 }
開發者ID:younginnovations,項目名稱:aidstream,代碼行數:4,代碼來源:RecipientRegionBudget.php

示例10:

 /**
  * @param FormBuilder $formBuilder
  * @param Version     $version
  */
 function __construct(FormBuilder $formBuilder, Version $version)
 {
     $this->formBuilder = $formBuilder;
     $this->formPath = $version->getOrganizationElement()->getTotalExpendituresForm();
 }
開發者ID:younginnovations,項目名稱:aidstream,代碼行數:9,代碼來源:TotalExpenditure.php

示例11:

 function __construct(Version $version)
 {
     $this->repo = $version->getOrganizationElement()->getOrgReportingOrg()->getRepository();
 }
開發者ID:younginnovations,項目名稱:aidstream,代碼行數:4,代碼來源:OrgReportingOrgManager.php

示例12:

 /**
  * @param Version $version
  */
 function __construct(Version $version)
 {
     $this->elementValidator = $version->getOrganizationElement()->getOrganizationElementValidator();
 }
開發者ID:younginnovations,項目名稱:aidstream,代碼行數:7,代碼來源:OrganizationElementValidator.php

示例13:

 /**
  * @param Version $version
  */
 function __construct(Version $version)
 {
     return $version->getOrganizationElement()->getTotalExpenditureRequest();
 }
開發者ID:younginnovations,項目名稱:aidstream,代碼行數:7,代碼來源:TotalExpenditureRequestManager.php

示例14:

 /**
  * @param FormBuilder $formBuilder
  * @param Version     $version
  */
 function __construct(FormBuilder $formBuilder, Version $version)
 {
     $this->formBuilder = $formBuilder;
     $this->version = $version;
     $this->formPath = $this->version->getOrganizationElement()->getRecipientRegionBudgetsForm();
 }
開發者ID:younginnovations,項目名稱:aidstream,代碼行數:10,代碼來源:RecipientRegionBudget.php


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