@param bool $allDetails

@return string
@throws \Koldy\Exception
439080
public function debug($allDetails = false)
    {
        $className = get_class($this);
        $msg = "{$className} ({$this->getHttpCode()}) {$this->request->getMethod()}={$this->getUrl()} IN {$this->getTotalTime()}s";

        if ($allDetails) {
            if ($this->headersText != null) {
                $msg .= " with response HEADERS:\n";
                foreach (explode("\n", $this->headersText) as $line) {
                    $msg .= "\t{$line}\n";
                }
            } else {
                $msg .= "\n";
            }

            $body = $this->getBody();
            if (mb_strlen($body, Application::getEncoding()) > 255) {
                $body = mb_substr($body, 0, 252, Application::getEncoding()) . '...';
            }

            $msg .= "\n";
            $msg .= "RESPONSE BODY:----------------------------\n";
            $msg .= $body . "\n";
            $msg .= '------------------------------------------';
        }

        return $msg;
    }
29345
public function Details() {
      if ($this->_PropertiesDefined === FALSE)
         trigger_error(ErrorMessage('You must configure the pager with $Pager->Configure() before retrieving the pager details.', 'MorePager', 'Details'), E_USER_ERROR);
         
      $Details = FALSE;
      if ($this->TotalRecords > 0) {
         if ($this->_Totalled === TRUE) {
            $Details = self::FormatUrl(T('%s$1 to %s$2 of %s$3'), $this->Offset + 1, $this->_LastOffset, $this->TotalRecords);
         } else {
            $Details = self::FormatUrl(T('%s$1 to %s$2'), $this->Offset, $this->_LastOffset);
         }
      }
      return $Details;
   }
129257
public function getClientDetailsById($id)
	{
		$database = \App::get('db');

		$sql = "SELECT * FROM `#__developer_applications`
				WHERE `id`=" . $database->quote($id);
		$database->setQuery($sql);
		return $database->loadAssoc();
	}
786291
protected function getErrorDetails(\Exception $e, $trace = false)
    {
        $msg = $e->getMessage();
        if ($e instanceof DfException) {
            $context = $e->getContext();
            if (is_array($context)) {
                $context = print_r($context, true);
            }
            if (!empty($context)) {
                $msg .= "\nContext: " . $context;
            }
        }

        if ($trace === true) {
            $msg .= "\nTrace:\n" . $e->getTraceAsString();
        }

        return $msg;
    }
400178
protected function displayJson(array $details)
    {
        $errors = 0;

        array_walk(
            $details,
            function (&$info) use (&$errors) {
                $info['file'] = (string) $info['file'];
                unset($info['template']);

                if (!$info['valid']) {
                    $info['message'] = $info['exception']->getMessage();
                    unset($info['exception']);
                    $errors++;
                }
            }
        );

        $this->line(json_encode($details, JSON_PRETTY_PRINT));

        return min($errors, 1);
    }
1273940
public function getDetails()
    {
        // Check each change item
        /** @var ChangeSetItem $change */
        $total = 0;
        $withChanges = 0;
        foreach ($this->Changes() as $change) {
            $total++;
            if ($change->hasChange()) {
                $withChanges++;
            }
        }

        // Empty state
        if (empty($total)) {
            return _t(__CLASS__ . '.EMPTY', 'Empty');
        }

        // Count all items
        $totalText = _t(
            __CLASS__ . '.ITEMS_TOTAL',
            '1 total|{count} total',
            ['count' => $total]
        );
        if (empty($withChanges)) {
            return $totalText;
        }

        // Interpolate with changes text
        return _t(
            __CLASS__ . '.ITEMS_CHANGES',
            '{total} (1 change)|{total} ({count} changes)',
            [
                'total' => $totalText,
                'count' => $withChanges,
            ]
        );
    }
1301482
public function getExpressCheckoutDetails()
    {
        try {
            $payPalService = $this->getPayPalCheckoutService();
            $builder = oxNew(\OxidEsales\PayPalModule\Model\PayPalRequest\GetExpressCheckoutDetailsRequestBuilder::class);
            $builder->setSession($this->getSession());

            $request = $builder->buildRequest();

            $details = $payPalService->getExpressCheckoutDetails($request);
        } catch (\OxidEsales\Eshop\Core\Exception\StandardException $excp) {
            // display error message
            $this->getUtilsView()->addErrorToDisplay($excp);

            // problems fetching user info - redirect to payment selection
            return 'payment';
        }

        $this->getSession()->setVariable("oepaypal-payerId", $details->getPayerId());
        $this->getSession()->setVariable("oepaypal-basketAmount", $details->getAmount());

        // next step - order page
        $next = 'order';

        // finalize order on paypal side?
        if ($this->getPayPalConfig()->finalizeOrderOnPayPalSide()) {
            $next .= "?fnc=execute";
        }

        // everything is fine - redirect to order
        return $next;
    }
183156
public function actionDetail() {
        $request = Yii::$app->request;
        if (!is_null($id = $request->post('id', $request->post('expandRowKey')))) {
            $model = $this->retrieveModel($id);
            return $this->renderPartial('_detail', ['model' => $model]);
        } else {
            return '<div class="alert alert-danger">No data found</div>';
        }
    }
744630
public static function cleanVisitorDetails($visitorDetails)
    {
        if (Piwik::isUserIsAnonymous()) {
            $toUnset = array(
                'idvisitor',
                'user_id',
                'location_ip',
                'config_id'
            );

            foreach ($toUnset as $keyName) {
                if (isset($visitorDetails[$keyName])) {
                    unset($visitorDetails[$keyName]);
                }
            }
        }

        return $visitorDetails;
    }
203811
private function getEventDetailsHtml(&$details) {
    $html = '<h4>Event Goal</h4><pre>' .
            'Use Event Value = ' . $details->getUseEventValue();

    // Get all the event goal conditions.
    $conditions = $details->getEventConditions();

    // String condition types.
    $stringTypes = array('CATEGORY', 'ACTION', 'LABEL');

    foreach ($conditions as &$condition) {
      $html .= "Event Type = $condition->getEventType()";

      $eventType = $condition->getType();
      if (in_array($eventType, $stringTypes)) {
        // Process CATEGORY, ACTION, LABEL.
        $html .= "Match Type = $condition->getMatchType()" .
                 "Expression = $condition->getExpression()";
      } else {
        // Process VALUE.
        $html .= "Comparison Type  = $condition->getComparisonType()" .
                 "Comparison Value = $condition->getComparisonValue()";
      }
    }

    return $html . '</pre>';
  }
329708
public function details(Model $Model, $queryData = null, $schema = false, $format = true) {
		$DetailModel = ClassRegistry::init($this->settings[$Model->alias]['alias']);

		if (is_string($queryData)) {
			$queryData = array('section' => $queryData);
		}

		$conditions = array($DetailModel->alias . '.foreign_key' => $Model->getID());
		if (!empty($queryData['section'])) {
			$section = $queryData['section'];
			$conditions[$DetailModel->alias . '.field LIKE'] = $section . '.%';
			unset($queryData['section']);
		}
		if (!empty($queryData['conditions'])) {
			$queryData['conditions'] = Hash::merge($conditions, $queryData['conditions']);
		}

		$fields = array($DetailModel->alias . '.field', $DetailModel->alias . '.value', $DetailModel->alias . '.label', 'foreign_key', 'foreign_model');
		if ($schema) {
			$fields = array($DetailModel->alias . '.field', $DetailModel->alias . '.input', $DetailModel->alias . '.data_type', $DetailModel->alias . '.label');
		}

		$order = array('position' => 'ASC');
		$recursive = -1;

		$results = $DetailModel->find('all', array_merge(compact('conditions', 'fields', 'order', 'recursive'), $queryData));

		return $this->detailsExtractSections($Model, $results, $section, $schema, $format);
	}
40020
public function parseOrderDetails()
    {
        // remove previous OrderDetails and OrderOptions so we don't end up with duplicates
        foreach ($this->Details() as $detail) {
            /** @var OrderOption $orderOption */
            foreach ($detail->OrderOptions() as $orderOption) {
                $orderOption->delete();
            }
            $detail->delete();
        }

        $transaction = $this->getTransaction()->getTransaction();

        // Associate ProductPages, Options, Quantity with Order
        foreach ($transaction->transaction_details->transaction_detail as $detail) {
            $OrderDetail = OrderDetail::create();

            $OrderDetail->Quantity = (int)$detail->product_quantity;
            $OrderDetail->ProductName = (string)$detail->product_name;
            $OrderDetail->ProductCode = (string)$detail->product_code;
            $OrderDetail->ProductImage = (string)$detail->image;
            $OrderDetail->ProductCategory = (string)$detail->category_code;
            $priceModifier = 0;

            // parse OrderOptions
            foreach ($detail->transaction_detail_options->transaction_detail_option as $option) {
                // Find product via product_id custom variable
                if ($option->product_option_name == 'product_id') {
                    // if product is found, set relation to OrderDetail
                    $OrderProduct = ProductPage::get()->byID((int)$option->product_option_value);
                    if ($OrderProduct) {
                        $OrderDetail->ProductID = $OrderProduct->ID;
                    }
                } else {
                    $OrderOption = OrderOption::create();
                    $OrderOption->Name = (string)$option->product_option_name;
                    $OrderOption->Value = (string)$option->product_option_value;
                    $OrderOption->write();
                    $OrderDetail->OrderOptions()->add($OrderOption);

                    $priceModifier += $option->price_mod;
                }
            }

            $OrderDetail->Price = (float)$detail->product_price + (float)$priceModifier;

            // extend OrderDetail parsing, allowing for recording custom fields from FoxyCart
            $this->extend('handleOrderItem', $order, $response, $OrderDetail);

            // write
            $OrderDetail->write();

            // associate with this order
            $this->Details()->add($OrderDetail);
        }
    }
1216395
public function getDetailContent($id)
    {
        $response = $this->mailjet->get(Resources::$TemplateDetailcontent,
            ['id' => $id]);
        if (!$response->success()) {
            $this->throwError("TemplateService:getDetailContent failed",
                $response);
        }

        return $response->getData();
    }
276639
public function fullDetails($reset = false)
    {
        return (new Blob($this->package))
            ->setPath($this->blob->path)
            ->fullDetails($reset ? null : $this->getMetaData());
    }
744621
protected function getStatusDetailed()
    {
        if ( isset($GLOBALS['TL_CONFIG']['dlstats'])
         && (bool) $GLOBALS['TL_CONFIG']['dlstats'] === true
          && isset($GLOBALS['TL_CONFIG']['dlstatdets'])
         && (bool) $GLOBALS['TL_CONFIG']['dlstatdets'] === true
           )
        {
            return '<span class="tl_green">'.$GLOBALS['TL_LANG']['tl_dlstatstatistics_stat']['status_activated'].'</span>';
        }
        $this->boolDetails = false;
        return '<span class="">'.$GLOBALS['TL_LANG']['tl_dlstatstatistics_stat']['status_deactivated'].'</span>';
    }
1091465
public static function conf($extension = '', $details = true)
    {
        if (!self::isDebug()) {
            return false;
        }

        if ($extension == '') {
            $label = '';
            $data  = ini_get_all();
        } else {
            $label = ' (' . $extension . ') ';
            $data  = ini_get_all($extension, $details);
        }

        return self::i()->dump($data, '! configuration settings' . $label . ' !');
    }
1010088
public function showDetail($ids) {
		if (URequest::isAjax ()) {
			$instance = $this->getModelInstance ( $ids );
			$viewer = $this->_getModelViewer ();
			$hasElements = false;
			$model = $this->model;
			$fkInstances = CRUDHelper::getFKIntances ( $instance, $model );
			$semantic = $this->jquery->semantic ();
			$grid = $semantic->htmlGrid ( "detail" );
			if (sizeof ( $fkInstances ) > 0) {
				$wide = intval ( 16 / sizeof ( $fkInstances ) );
				if ($wide < 4)
					$wide = 4;
				foreach ( $fkInstances as $member => $fkInstanceArray ) {
					$element = $viewer->getFkMemberElementDetails ( $member, $fkInstanceArray ["objectFK"], $fkInstanceArray ["fkClass"], $fkInstanceArray ["fkTable"] );
					if (isset ( $element )) {
						$grid->addCol ( $wide )->setContent ( $element );
						$hasElements = true;
					}
				}
				if ($hasElements) {
					echo $grid;
					$url = $this->_getFiles ()->getDetailClickURL ( $this->model );
					if (UString::isNotNull ( $url )) {
						$this->detailClick ( $url );
					}
				}
				echo $this->jquery->compile ( $this->view );
			}
		} else {
			$this->jquery->execAtLast ( "$('tr[data-ajax={$ids}]').trigger('click');" );
			$this->index ();
		}
	}