当前位置: 首页>>代码示例>>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;未经允许,请勿转载。