Results

12.06.2019
acquia_commercemanager 8.x-1.122 :: modules/acm/src/Connector/APIWrapper.php
    $acm_uuid = $this->storeId;
    if (!$acm_uuid) {
      $acm_uuid = "";
    }

    try {
      $categories = $this->tryAgentRequest($doReq, 'getCategories', 'categories', "", $acm_uuid);
    }
    catch (ConnectorException $e) {
   * {@inheritdoc}
   */
  public function productFullSync($skus = '', $page_size = 0, $acm_uuid = "", $categoryId = "") {
    $endpoint = $this->apiVersion . "/agent/products";

    $doReq = function ($client, $opt) use ($endpoint, $skus, $categoryId) {

      if (!empty($category_id)) {
        $opt['query']['category_id'] = $category_id;
12.06.2019
acquia_commercemanager 8.x-1.122 :: modules/acm/src/Connector/ClientFactory.php
   * @throws \InvalidArgumentException
   */
  public function createClient($acm_uuid = "") {

    $config = $this->configFactory->get('acm.connector');
    if (!strlen($config->get('url'))) {
      throw new \InvalidArgumentException('No Commerce Connector Service URL specified.');
    }
12.06.2019
acquia_commercemanager 8.x-1.122 :: modules/acm/src/Connector/AgentRequestTrait.php
   * @throws \Exception
   */
  protected function tryAgentRequest(callable $doReq, $action, $reskey = NULL, $acm_uuid = "") {

    $client = $this->clientFactory->createClient($acm_uuid);
    $reqOpts = [];
    $logger = ($this->logger) ?: \Drupal::logger('acm');

    if ($this->debug) {
12.06.2019
acquia_commercemanager 8.x-1.122 :: modules/acm/src/Connector/IngestRequestTrait.php
   *   The ACM UUID indicating which Commerce Connector mapping to use.
   */
  protected function tryIngestRequest(callable $doReq, $action, $reskey = NULL, $skus = '', $acm_uuid = "") {

    $client = $this->clientFactory->createClient($acm_uuid);
    $reqOpts = [];

    if (!empty($skus)) {
      $reqOpts['query']['skus'] = $skus;
12.06.2019
acquia_commercemanager 8.x-1.122 :: modules/acm/src/VerifyMapping.php
   *   Information about the mapping and its verification.
   */
  public function verify($acmUuid = "") {

    $this->debugLogger("Did call 'verify' function");
    $systemAdvice = "";
    $passedSoFar = TRUE;

    if (!$acmUuid) {
04.07.2018
pollgeolocation 8.x-2.x-dev :: src/Controller/PollgeolocationController.php
        //var defination
        $request_param = "";
        $uuid = "";
        $rows = array();
        $form = [];
        $usrquery = "";
        $results = "";
        //DB preparation area
        $db = \Drupal::database();
28.04.2021
jitsi_meet 1.0.x-dev :: modules/src/Controller/JitsiJwtController.php
    $uuid = $account->uuid();
    if (empty($uuid)) {
      $uuid = "BROKEN-$this->account->id()";
      //TODO encode Domain in this!
    }
    if ($roomId === "/") {
      $roomId = ""; //No room Selected.
    }
    $jwt = new JsonWebTokens($configItems['url'], $configItems['key'], $configItems['jti'], $configItems['aud'], $roomId);
17.06.2020
cmlstarter_demo 8.x-1.0-beta6 :: src/Utility/MigrationsSourceBase.php
    if (is_array($product_uuids) && !empty($product_uuids)) {
      foreach ($product_uuids as $uuid) {
        $uuid = "{$uuid}-0000-0000-0000-000000000000";
        $commerce_product = $file_storage->loadByProperties(['uuid' => $uuid]);
        $commerce_product = reset($commerce_product);

        if (is_object($commerce_product)) {
          $id = $commerce_product->id();
          $result[$id] = ['target_id' => $id];
28.06.2024
cms_content_sync 3.0.x-dev :: src/Commands/CMSContentSyncCommands.php
   *
   * @usage cms_content_sync:check-entity-flags 16cc0d54-d93d-45b8-adf2-071de9d2d32b
   *   Get all flags for the entity having the uuid = "16cc0d54-d93d-45b8-adf2-071de9d2d32b".
   * @usage cms_content_sync:check-entity-flags 16cc0d54-d93d-45b8-adf2-071de9d2d32b --flag="FLAG_EDIT_OVERRIDE"
   *   Check if the entity having the uuid = "16cc0d54-d93d-45b8-adf2-071de9d2d32b" is overridden locally.
   *
   * @throws \Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException
   * @throws \Drupal\Component\Plugin\Exception\PluginNotFoundException
   */
  public function checkEntityFlags($entity_uuid, array $options = ['flag' => InputOption::VALUE_OPTIONAL]) {
    $this->cliService->checkEntityFlags($this->io(), $entity_uuid, $options);
15.06.2024
fox 1.1.2 :: tests/src/Functional/FoxCommandsTest.php
      'SET r TO',
      'SELECT uuid FROM user ORDER BY uid INTO data',
      'SELECT uid WHERE uuid = "@data.0.uuid"',
      'QUIT',
    ];
    $input = implode(';', $commands);
    $this->drush('fox', [], ['input' => $input]);

    $messages = [
30.03.2023
grant 1.x-dev :: src/GrantMain.php
   * {@inheritdoc}
   */
  public function getUserAssignedGrants($uuid = "current") {
    if ($uuid == "current") {
      $current_user_id = $this->account->id();
      $current_user = $this->entityTypeManager->getStorage('user')->load($current_user_id);
      $uuid = $current_user->uuid();
    }
    $cache_id = 'grant_uag:' . $uuid;
30.03.2023
grant 1.x-dev :: src/GrantMainInterface.php
   * Retrieve user assigned grants.
   */
  public function getUserAssignedGrants($uuid = "current");

  /**
   * Check if user has permission via assigned grant roles.
   */
  public function userAssignedGrantHasPermission($u3id = 'current', $perm_raw = '', $e_type = '', $e_uuid = '', $role_limit = [], $uag_roles = []);
20.07.2021
learnosity 1.0.x-dev :: tests/modules/learnosity_test/src/Plugin/LearnosityFeature/TestFeature.php
 *   id = "test_feature",
 *   label = "Feature Test",
 *   uuid = "9966b9a2-661a-4519-88ba-b0d5279e44fd",
 *   js = "/modules/contrib/learnosity/js/feature.test_feature.js",
 *   css = "",
 *   version = "v0.0.1",
 *   editor_layout = "/modules/contrib/learnosity/templates/test_feature.html",
 *   editor_schema = {
 *     "description" = "This is a feature test.",
11.08.2020
safedelete 1.0.0 :: src/AdminHelper.php
    $temparry = [];
    $regex_mediaobj = "/data-entity-type=\"node\" data-entity-uuid=\"([a-z]|[0-9]){8}-(([0-9]|[a-z]){4}-){3}([0-9]|[a-z]){12}\"/";
    $regex_uuid = "/([a-z]|[0-9]){8}-(([0-9]|[a-z]){4}-){3}([0-9]|[a-z]){12}/";
    preg_match_all($regex_mediaobj, $formbody, $matches, PREG_SET_ORDER);
    foreach ($matches as $match) {
      $tmpmsg = '';
      $node = reset($match);
      preg_match_all($regex_uuid, $node, $id_match, PREG_SET_ORDER);
      $nodeuuid = $id_match[0][0];
11.08.2020
safedelete 1.0.0 :: safedelete.module
        $body_field = NULL;
        $regex_mediaobj = "/data-entity-type=\"media\" data-entity-uuid=\"([a-z]|[0-9]){8}-(([0-9]|[a-z]){4}-){3}([0-9]|[a-z]){12}\"/";
        $regex_uuid = "/([a-z]|[0-9]){8}-(([0-9]|[a-z]){4}-){3}([0-9]|[a-z]){12}/";
        $body_field = $entity->getTranslation($other_langcode)->get('body')->value;
        $dbbody_field = $db_nodeenity->getTranslation($other_langcode)->get('body')->value;
        if (!is_null($body_field) || empty(!$body_field)) {
          // Using PHP 8.1 or higher, do not do a preg_match_all on null.
          preg_match_all($regex_mediaobj, $body_field, $matches, PREG_SET_ORDER);
        }
        $body_field = NULL;
        $regex_mediaobj = "/data-entity-type=\"media\" data-entity-uuid=\"([a-z]|[0-9]){8}-(([0-9]|[a-z]){4}-){3}([0-9]|[a-z]){12}\"/";
        $regex_uuid = "/([a-z]|[0-9]){8}-(([0-9]|[a-z]){4}-){3}([0-9]|[a-z]){12}/";
        $body_field = $entity->getTranslation($other_langcode)->get('body')->value;
        if (!is_null($body_field) && !empty($body_field)) {
          // Using PHP 8.1 or higher, do not do a preg_match_all on null.
          preg_match_all($regex_mediaobj, $body_field, $matches, PREG_SET_ORDER);
        }
        else {

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc