Renderuje pole tekstowe
@param \Mmi\Orm\RecordRo $record
@return string
336242
public function renderCell(\Mmi\Orm\RecordRo $record)
    {
        //dekodowanie json
        if (null === $jsonData = json_decode($this->getValueFromRecord($record), true)) {
            return;
        }
        //zwrot html pola
        return '<pre>' . $this->_renderRecursive($jsonData) . '</pre>';
    }
31642
public function renderCell(\Mmi\Orm\RecordRo $record)
    {
        FrontController::getInstance()->getView()->_column = $this;
        FrontController::getInstance()->getView()->_record = $record;
        FrontController::getInstance()->getView()->_value = $this->getValueFromRecord($record);

        //wyłączanie edycji jeśli acl w operacjach (edycji) zabrania
        if ($this->getGrid()->getColumn('_operation_') && !(new AclAllowed)->aclAllowed($this->getGrid()->getColumn('_operation_')->getOption('editParams'))) {
            $this->setDisabled();
        }
        //obsługa zapisu rekordu
        (new CheckboxRequestHandler($this))->handleRequest();
        //nowy Column select

        return FrontController::getInstance()->getView()->renderTemplate(self::TEMPLATE_CELL);
    }
818395
public function pushRecord(Record $record)
    {
        switch (true) {
            case $record->getType()->isStdout():
                $this->stdout .= $record->getContent();
                break;
            case $record->getType()->isStderr():
                $this->stderr .= $record->getContent();
                break;
            case $record->getType()->isEndRequest():
                return new Response($this->requestId, new StringReader($this->stdout), new StringReader($this->stderr));
                break;
            default:
                throw new \RuntimeException(sprintf('Unknown package type \'%d\'', $record->getType()));
                break;
        }
    }
1162265
public function parseMessage(\Imi\Log\Record $record): string
    {
        return str_replace($find, $replace, $record->getMessage());
    }
151035
public function write(LogRecord $record)
    {
        $logLine = array();

        if ($record->time) {
            $timestr = ($this->logLevel >= self::LEVEL_DEBUG) ?
                $this->udate('Y-m-d H:i:s.u T', $record->time) :
                date('Y/m/d h:i:s', $record->time);
            $logLine[] = "[ $timestr ]";
        }

        if ($record->level != null) {
            $logLine[] = self::LEVELS[$record->level];
        }

        $logLine[] = $record->message;

        $message = implode(' ', $logLine) . PHP_EOL;

        if ($this->fp) {
            fwrite($this->fp, $message);
        } else {
            if (isset($GLOBALS['useErrorLog'])) {
                error_log($message);
            } else {
                file_put_contents('php://stderr', $message, FILE_APPEND);
            }
        }

        return $message;
    }
332004
public function format( IRecord $record )
    {
        if ( !$record instanceof MailLogRecord )
        {
            throw new LogException( 'Record must be an instance of MailLogRecord' );
        }

        $title   = $record->getTitle();
        $heading = $record->getHeading();
        $body    = $record->getBody();

        $html =
            "<html>
                <head>
                    <title>$title</title>
                </head>
                <body>
                    <h1>$title</h1>
                    <h5>$heading</h5>
                    <p>$body</p>
                </body>
            </html>";

        return $html;
    }
172280
public function formatV1(array $record)
    {
        if (empty($record['datetime'])) {
            $record['datetime'] = gmdate('c');
        }
        $message = array(
            '@timestamp' => $record['datetime'],
            '@version' => version(),
            'host' => $this->systemName,
        );
        if (isset($record['message'])) {
            $message['message'] = $record['message'];
        }
        if (isset($record['channel'])) {
            $message['channel'] = $record['channel'];
        }
        if (isset($record['level_name'])) {
            $message['level'] = $record['level_name'];
        }
        if (!empty($record['extra'])) {
            foreach ($record['extra'] as $key => $val) {
                $message[$this->extraPrefix.$key] = $val;
            }
        }
        if (!empty($record['context'])) {
            foreach ($record['context'] as $key => $val) {
                $message[$this->contextPrefix.$key] = $val;
            }
        }

        if (isset($message['trace']) && is_array($message['trace'])) {
            $message['trace'] = implode(PHP_EOL, $message['trace']);
        }

        return $message;
    }
901079
protected static function createFromRecord($record)
    {
        if (is_array($record) && $record['cnvEditorHandle']) {
            /** @var \Concrete\Core\Utility\Service\Text $textHelper */
            $textHelper = Core::make('helper/text');
            $class = '\\Concrete\\Core\\Conversation\\Editor\\' . $textHelper->camelcase(
                    $record['cnvEditorHandle']
                ) . 'Editor';
            /** @var Editor $sc Really this could be any kind of editor but this should help code completion a bit */
            $sc = Core::make($class);
            $sc->setPropertiesFromArray($record);

            return $sc;
        }

        return null;
    }
809086
public function editlink($record)
    {
        $perm = 'contenttype:' . $record->contenttype['slug'] . ':edit:' . $record->id;

        if ($this->users->isAllowed($perm)) {
            return $this->urlGenerator->generate('editcontent', ['contenttypeslug' => $record->contenttype['slug'], 'id' => $record->id]);
        }

        return false;
    }
422111
public function pushRecord(Record $record)
    {
        $this->records[] = $record;

        if (!$record->getType()->isStdin() || $record->getContent()) {
            return;
        }

        return $this->buildRequest();
    }
318888
private function getNormalisedRecordName(Record $record): string
    {
        return '@' === $record->getName()
            ? $record->getDomain()
            : $record->getName() . '.' . $record->getDomain();
    }
74697
public function format(array $record)
	{
		$output = $this->addTitle($record['level_name'], $record['level']);
		$output .= '<table cellspacing="1" width="100%" class="monolog-output">';
		
		$output .= $this->addRow('Time', $record['datetime']->format($this->dateFormat));
		$output .= $this->addRow('Channel', $record['channel']);
		
		/** @var \Exception $exceptionRecord */
		$exceptionRecord = ExecutionService::getExceptionFromRecord($record);
		if (false === $exceptionRecord) {
			$output .= $this->addRow('Message', $record['message']);
		} else {
			$output .= $this->addRow('Message', $exceptionRecord->getMessage());
		}

		if (false !== $exceptionRecord) {
			$output .= $this->addRow('Exception', get_class($exceptionRecord));
			$output .= $this->addExceptionStackTraceFormattedToMessage($exceptionRecord);
		}

		$output .= $this->addFieldsToOutputBySection($record, 'extra', 'Request');
		$output .= $this->addFieldsToOutputBySection($record, 'data', 'Data');
		$output .= $this->addFieldsToOutputBySection($record, 'files', 'Files');
		$output .= $this->addFieldsToOutputBySection($record, 'headers', 'Headers');
		
		return $output . '</table>';
	}
132366
protected function transformRecord($record)
    {
        $columnNames = $this->columnManager->getRequestedColumnNames();
        $columnNames->transform(function ($item) use ($record) {
            return $this->getColumnValue($item, $record);
        });

        $datatableParameters = $this->getDatatableParameters($record);

        return array_merge($datatableParameters, $columnNames->toArray());
    }
163658
protected function processChildRecord($record)
    {
        $id = (int)$record['uid'];
        $this->checkOptions($record);
        /* @var $recordContentObjectRenderer ContentObjectRenderer */
        $recordContentObjectRenderer = GeneralUtility::makeInstance(ContentObjectRenderer::class);
        $recordContentObjectRenderer->start($record, 'tt_content');
        $this->processedRecordVariables[$id] = ['data' => $record];
        if (
            (int)$this->options['recursive'] > 0 &&
            $record['CType'] === 'gridelements_pi1' &&
            !empty($record['tx_gridelements_backend_layout'])
        ) {
            $childProcessorConfiguration = $this->containerProcessorConfiguration;
            $childProcessorConfiguration['dataProcessing.']['0.'] = $this->processorConfiguration;
            $childProcessorConfiguration['dataProcessing.']['0.']['recursive'] = (int)$this->options['recursive'] - 1;
            $childProcessorConfiguration['dataProcessing.']['0'] = 'GridElementsTeam\Gridelements\DataProcessing\GridChildrenProcessor';
            $this->processedRecordVariables[$id] = $this->contentDataProcessor->process(
                $recordContentObjectRenderer,
                $childProcessorConfiguration,
                $this->processedRecordVariables[$id]
            );
        } else {
            $this->processedRecordVariables[$id] = $this->contentDataProcessor->process(
                $recordContentObjectRenderer,
                $this->containerProcessorConfiguration,
                $this->processedRecordVariables[$id]
            );
        }
    }
183570
public function handle( Record $record )
    {
        $this->open( $record );

        if ($this->recordFormatter->formatRecord( $this->writer, $record )) {
            $this->incrementRecordCount();
        }

        return $record;
    }
269595
private function getRecordEditingFields(DataObject $record)
    {
        $tempForm = Form::create(
            $this,
            'TempEditForm',
            $record->getCMSFields(),
            FieldList::create()
        );

        $tempForm->loadDataFrom($record);
        $fields = $tempForm->Fields();

        $fields = $this->filterRecordEditingFields($fields, $record->ID);

        return $fields;
    }
115861
public function stream_handler_for_record( array $record ) {

		list( $filename, $file_permissions ) = $this->file_name_for_record( $record );

		if ( isset( $this->handlers[ $filename ] ) ) {
			return $this->handlers[ $filename ];
		}

		$this->close();

		$handler = new StreamHandler(
			$filename,
			$this->getLevel(),
			$this->getBubble(),
			$file_permissions,
			$this->locking
		);

		$this->handlers[ $filename ] = $handler;

		return $handler;
	}