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


PHP Version::getActivityElement方法代碼示例

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


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

示例1: __construct

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

示例2: __construct

 /**
  * @param Version             $version
  * @param Log                 $logger
  * @param OrganizationManager $orgManager
  */
 public function __construct(Version $version, Log $logger, OrganizationManager $orgManager)
 {
     $this->simpleActivityParser = $version->getActivityElement()->getSimpleActivityParser();
     $this->simpleActivityDemoParser = $version->getActivityElement()->getSimpleActivityDemoParser();
     $this->version = $version;
     $this->logger = $logger;
     $this->orgManager = $orgManager;
 }
開發者ID:younginnovations,項目名稱:aidstream,代碼行數:13,代碼來源:ImportActivity.php

示例3: __construct

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

示例4: __construct

 /**
  * @param Version $version
  * @param Guard   $auth
  * @param Log     $dbLogger
  * @param Logger  $logger
  */
 public function __construct(Version $version, Guard $auth, Log $dbLogger, Logger $logger)
 {
     $this->auth = $auth;
     $this->version = $version;
     $this->dbLogger = $dbLogger;
     $this->logger = $logger;
     $this->transactionRepo = $version->getActivityElement()->getTransaction()->getRepository();
     $this->uploadTransactionRepo = $version->getActivityElement()->getUploadTransaction()->getRepository();
 }
開發者ID:younginnovations,項目名稱:aidstream,代碼行數:15,代碼來源:UploadTransactionManager.php

示例5: __construct

 /**
  * @param Version  $version
  * @param DbLogger $dbLogger
  * @param Guard    $auth
  * @param Logger   $logger
  */
 public function __construct(Version $version, DbLogger $dbLogger, Guard $auth, Logger $logger)
 {
     $this->auth = $auth;
     $this->dbLogger = $dbLogger;
     $this->logger = $logger;
     $this->iatiPolicyMarkerRepo = $version->getActivityElement()->getPolicyMarker()->getRepository();
 }
開發者ID:younginnovations,項目名稱:aidstream,代碼行數:13,代碼來源:PolicyMarkerManager.php

示例6: __construct

 /**
  * @param Version         $version
  * @param Log             $dbLogger
  * @param Guard           $auth
  * @param LoggerInterface $logger
  */
 public function __construct(Version $version, Log $dbLogger, Guard $auth, LoggerInterface $logger)
 {
     $this->auth = $auth;
     $this->dbLogger = $dbLogger;
     $this->logger = $logger;
     $this->iatiLegacyRepo = $version->getActivityElement()->getLegacyData()->getRepository();
 }
開發者ID:younginnovations,項目名稱:aidstream,代碼行數:13,代碼來源:LegacyDataManager.php

示例7: __construct

 /**
  * @param Version         $version
  * @param Guard           $auth
  * @param DatabaseManager $database
  * @param Logger          $logger
  */
 public function __construct(Version $version, Guard $auth, DatabaseManager $database, Logger $logger)
 {
     $this->auth = $auth;
     $this->logger = $logger;
     $this->database = $database;
     $this->CountryBudgetItemRepo = $version->getActivityElement()->getCountryBudgetItem()->getRepository();
 }
開發者ID:younginnovations,項目名稱:aidstream,代碼行數:13,代碼來源:CountryBudgetItemManager.php

示例8: __construct

 /**
  * @param Version         $version
  * @param Guard           $auth
  * @param DatabaseManager $database
  * @param Logger          $logger
  */
 public function __construct(Version $version, Guard $auth, DatabaseManager $database, Logger $logger)
 {
     $this->stepTwoRepo = $version->getActivityElement()->getStepTwo()->getRepository();
     $this->auth = $auth;
     $this->logger = $logger;
     $this->database = $database;
 }
開發者ID:younginnovations,項目名稱:aidstream,代碼行數:13,代碼來源:StepTwoManager.php

示例9:

 /**
  * @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->humanitarianScopeRepo = $version->getActivityElement()->getHumanitarianScopeRepository();
 }
開發者ID:younginnovations,項目名稱:aidstream,代碼行數:15,代碼來源:HumanitarianScopeManager.php

示例10: __construct

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

示例11:

 /**
  * @param Version $version
  */
 function __construct(Version $version)
 {
     $this->activityElement = $version->getActivityElement();
     $this->downloadCsvRepo = $this->activityElement->getDownloadCsv()->getRepository();
     $this->simpleCsvDataFormatter = $this->activityElement->getDownloadCsv()->getSimpleCsvDataFormatter();
     $this->completeCsvDataFormatter = $this->activityElement->getDownloadCsv()->getCompleteCsvDataFormatter();
     $this->transactionCsvDataFormatter = $this->activityElement->getDownloadCsv()->getTransactionCsvDataFormatter();
 }
開發者ID:younginnovations,項目名稱:aidstream,代碼行數:11,代碼來源:DownloadCsvManager.php

示例12: __construct

 /**
  * @param Version         $version
  * @param Guard           $auth
  * @param DatabaseManager $database
  * @param Log             $dbLogger
  * @param LoggerInterface $logger
  */
 public function __construct(Version $version, Guard $auth, DatabaseManager $database, Log $dbLogger, LoggerInterface $logger)
 {
     $this->auth = $auth;
     $this->database = $database;
     $this->DocumentLinkRepo = $version->getActivityElement()->getDocumentLink()->getRepository();
     $this->dbLogger = $dbLogger;
     $this->logger = $logger;
 }
開發者ID:younginnovations,項目名稱:aidstream,代碼行數:15,代碼來源:DocumentLinkManager.php

示例13: __construct

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

示例14: __construct

 /**
  * @param Version         $version
  * @param Guard           $auth
  * @param DatabaseManager $database
  * @param Log             $dbLogger
  * @param Logger          $logger
  */
 public function __construct(Version $version, Guard $auth, DatabaseManager $database, Log $dbLogger, Logger $logger)
 {
     $this->auth = $auth;
     $this->version = $version;
     $this->dbLogger = $dbLogger;
     $this->logger = $logger;
     $this->database = $database;
     $this->uploadActivityRepo = $version->getActivityElement()->getUploadActivity()->getRepository();
 }
開發者ID:younginnovations,項目名稱:aidstream,代碼行數:16,代碼來源:UploadActivityManager.php

示例15: __construct

 /**
  * @param OrganizationManager $organizationManager
  * @param ActivitiesManager   $activityManager
  * @param UserActivity        $userActivityRepo
  * @param Guard               $auth
  * @param Version             $version
  */
 public function __construct(OrganizationManager $organizationManager, ActivitiesManager $activityManager, UserActivity $userActivityRepo, Guard $auth, Version $version)
 {
     $this->auth = $auth;
     $this->repo = $version->getActivityElement()->getRepository();
     $this->version = $version;
     $this->userActivityRepo = $userActivityRepo;
     $this->organizationManager = $organizationManager;
     $this->activityManager = $activityManager;
 }
開發者ID:younginnovations,項目名稱:aidstream,代碼行數:16,代碼來源:ActivityManager.php


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