View ListExpression.php
<?php | |
declare(strict_types=1); | |
namespace App\Database\Expression; | |
use Cake\Database\ExpressionInterface; | |
use Cake\Database\ValueBinder; | |
use Closure; | |
class ListExpression implements ExpressionInterface |
View json
{ | |
"imageIdToolState": { | |
"dicomweb:\/\/zc.zz\/orders\/dicom-file\/52\/133": { | |
"keyImages": { | |
"data": [{}], | |
"selected": true | |
}, | |
"angle": { | |
"data": [{ | |
"visible": true, |
View .php
<?php | |
namespace App\Controller; | |
use App\Controller\AppController; | |
use Api\Service\Invoker; | |
use CakeDC\Api\Exception\ValidationException; | |
/** | |
* Blogs Controller | |
* |
View php
<?php | |
namespace App\Controller; | |
use App\Controller\AppController; | |
use ApiExtra\Service\Invoker; | |
use CakeDC\Api\Exception\ValidationException; | |
/** | |
* Blogs Controller | |
* |
View gist:9f068913a1803b583dee15072a855792
<?php | |
namespace App\Controller; | |
use App\Controller\AppController; | |
use ApiExtra\Service\Invoker; | |
use CakeDC\Api\Exception\ValidationException; | |
/** | |
* Blogs Controller | |
* |
View cases.ex
defmodule T1 do | |
def t(arg) do | |
a = [ | |
%{ | |
fn: &f1/1, | |
res: :res1 | |
}, %{ | |
fn: &f2/1, | |
res: :res2 |
View gist:631b7a6a04144051b54299891431fc57
import { Component, OnInit, Input, ViewEncapsulation } from '@angular/core'; | |
import { MetaModel } from '../models/meta-model'; | |
import { Entity } from '../models/entity'; | |
@Component({ | |
selector: '[index-row-cells]', | |
encapsulation: ViewEncapsulation.None, | |
template: ` | |
<td *ngFor="let field of model.fields"> | |
<span *ngIf="!entity.isLink(field)">{{entity.valueFormatted(field)}}</span> |
View gist:ad86b52ddce9ed56878d
array( | |
'formatted_address' => 'Stavropolskaya ul., 165, Krasnodar, Krasnodarskiy kray, Russia, 350058', | |
'country' => 'Russia', | |
'country_code' => 'RU', | |
'country_province' => 'Krasnodarskiy kray', | |
'country_province_code' => 'Krasnodarskiy kray', | |
'postal_code' => '350058', | |
'locality' => 'Krasnodar', | |
'sublocality' => '', | |
'route' => 'Stavropolskaya ulitsa 165', |