Advertisement
Guest User

Untitled

a guest
Dec 3rd, 2019
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 17.46 KB | None | 0 0
  1. var_dump($result = $this->Stagioneallenatores->find('all')->contain(['Allenatores','Societas']));
  2.  
  3. print:
  4.  
  5. C:\Program Files (x86)\Ampps\www\calciotelCakePhp\src\Controller\StagioneAllenatoresController.php:31:
  6. object(Cake\ORM\Query)[142]
  7.   public '(help)' => string 'This is a Query object, to get the results execute or iterate it.' (length=65)
  8.   public 'sql' => string 'SELECT Stagioneallenatores.id AS `Stagioneallenatores__id`, Stagioneallenatores.id_allenatore AS `Stagioneallenatores__id_allenatore`, Stagioneallenatores.id_societa AS `Stagioneallenatores__id_societa`, Stagioneallenatores.anno AS `Stagioneallenatores__anno`, Stagioneallenatores.stagione AS `Stagioneallenatores__stagione`, Stagioneallenatores.SERIE AS `Stagioneallenatores__SERIE`, Stagioneallenatores.POS AS `Stagioneallenatores__POS`, Stagioneallenatores.CLASS AS `Stagioneallenatores__CLASS`, Stagioneallen'... (length=2133)
  9.   public 'params' =>
  10.     array (size=0)
  11.       empty
  12.   public 'defaultTypes' =>
  13.     array (size=121)
  14.       'Stagioneallenatores__id' => string 'integer' (length=7)
  15.       'Stagioneallenatores.id' => string 'integer' (length=7)
  16.       'id' => string 'integer' (length=7)
  17.       'Stagioneallenatores__id_allenatore' => string 'integer' (length=7)
  18.       'Stagioneallenatores.id_allenatore' => string 'integer' (length=7)
  19.       'id_allenatore' => string 'integer' (length=7)
  20.       'Stagioneallenatores__id_societa' => string 'integer' (length=7)
  21.       'Stagioneallenatores.id_societa' => string 'integer' (length=7)
  22.       'id_societa' => string 'integer' (length=7)
  23.       'Stagioneallenatores__anno' => string 'integer' (length=7)
  24.       'Stagioneallenatores.anno' => string 'integer' (length=7)
  25.       'anno' => string 'integer' (length=7)
  26.       'Stagioneallenatores__stagione' => string 'string' (length=6)
  27.       'Stagioneallenatores.stagione' => string 'string' (length=6)
  28.       'stagione' => string 'string' (length=6)
  29.       'Stagioneallenatores__SERIE' => string 'string' (length=6)
  30.       'Stagioneallenatores.SERIE' => string 'string' (length=6)
  31.       'SERIE' => string 'string' (length=6)
  32.       'Stagioneallenatores__POS' => string 'integer' (length=7)
  33.       'Stagioneallenatores.POS' => string 'integer' (length=7)
  34.       'POS' => string 'integer' (length=7)
  35.       'Stagioneallenatores__CLASS' => string 'string' (length=6)
  36.       'Stagioneallenatores.CLASS' => string 'string' (length=6)
  37.       'CLASS' => string 'string' (length=6)
  38.       'Stagioneallenatores__VN' => string 'integer' (length=7)
  39.       'Stagioneallenatores.VN' => string 'integer' (length=7)
  40.       'VN' => string 'integer' (length=7)
  41.       'Stagioneallenatores__NU' => string 'integer' (length=7)
  42.       'Stagioneallenatores.NU' => string 'integer' (length=7)
  43.       'NU' => string 'integer' (length=7)
  44.       'Stagioneallenatores__PE' => string 'integer' (length=7)
  45.       'Stagioneallenatores.PE' => string 'integer' (length=7)
  46.       'PE' => string 'integer' (length=7)
  47.       'Stagioneallenatores__GF' => string 'integer' (length=7)
  48.       'Stagioneallenatores.GF' => string 'integer' (length=7)
  49.       'GF' => string 'integer' (length=7)
  50.       'Stagioneallenatores__GS' => string 'integer' (length=7)
  51.       'Stagioneallenatores.GS' => string 'integer' (length=7)
  52.       'GS' => string 'integer' (length=7)
  53.       'Allenatores__id' => string 'integer' (length=7)
  54.       'Allenatores.id' => string 'integer' (length=7)
  55.       'Allenatores__cognome' => string 'string' (length=6)
  56.       'Allenatores.cognome' => string 'string' (length=6)
  57.       'cognome' => string 'string' (length=6)
  58.       'Allenatores__nome' => string 'string' (length=6)
  59.       'Allenatores.nome' => string 'string' (length=6)
  60.       'nome' => string 'string' (length=6)
  61.       'Allenatores__data_nascita' => string 'date' (length=4)
  62.       'Allenatores.data_nascita' => string 'date' (length=4)
  63.       'data_nascita' => string 'date' (length=4)
  64.       'Allenatores__luogo_nascita' => string 'string' (length=6)
  65.       'Allenatores.luogo_nascita' => string 'string' (length=6)
  66.       'luogo_nascita' => string 'string' (length=6)
  67.       'Allenatores__qualifica' => string 'string' (length=6)
  68.       'Allenatores.qualifica' => string 'string' (length=6)
  69.       'qualifica' => string 'string' (length=6)
  70.       'Societas__id' => string 'integer' (length=7)
  71.       'Societas.id' => string 'integer' (length=7)
  72.       'Societas__nome_societa' => string 'string' (length=6)
  73.       'Societas.nome_societa' => string 'string' (length=6)
  74.       'nome_societa' => string 'string' (length=6)
  75.       'Societas__nome_societa_breve' => string 'string' (length=6)
  76.       'Societas.nome_societa_breve' => string 'string' (length=6)
  77.       'nome_societa_breve' => string 'string' (length=6)
  78.       'Societas__sede' => string 'string' (length=6)
  79.       'Societas.sede' => string 'string' (length=6)
  80.       'sede' => string 'string' (length=6)
  81.       'Societas__cap' => string 'string' (length=6)
  82.       'Societas.cap' => string 'string' (length=6)
  83.       'cap' => string 'string' (length=6)
  84.       'Societas__citta' => string 'string' (length=6)
  85.       'Societas.citta' => string 'string' (length=6)
  86.       'citta' => string 'string' (length=6)
  87.       'Societas__pr' => string 'string' (length=6)
  88.       'Societas.pr' => string 'string' (length=6)
  89.       'pr' => string 'string' (length=6)
  90.       'Societas__nazionalita_campionato' => string 'string' (length=6)
  91.       'Societas.nazionalita_campionato' => string 'string' (length=6)
  92.       'nazionalita_campionato' => string 'string' (length=6)
  93.       'Societas__serie_campionato' => string 'string' (length=6)
  94.       'Societas.serie_campionato' => string 'string' (length=6)
  95.       'serie_campionato' => string 'string' (length=6)
  96.       'Societas__tel' => string 'string' (length=6)
  97.       'Societas.tel' => string 'string' (length=6)
  98.       'tel' => string 'string' (length=6)
  99.       'Societas__fax' => string 'string' (length=6)
  100.       'Societas.fax' => string 'string' (length=6)
  101.       'fax' => string 'string' (length=6)
  102.       'Societas__http' => string 'string' (length=6)
  103.       'Societas.http' => string 'string' (length=6)
  104.       'http' => string 'string' (length=6)
  105.       'Societas__face' => string 'string' (length=6)
  106.       'Societas.face' => string 'string' (length=6)
  107.       'face' => string 'string' (length=6)
  108.       'Societas__email' => string 'string' (length=6)
  109.       'Societas.email' => string 'string' (length=6)
  110.       'email' => string 'string' (length=6)
  111.       'Societas__stadio' => string 'string' (length=6)
  112.       'Societas.stadio' => string 'string' (length=6)
  113.       'stadio' => string 'string' (length=6)
  114.       'Societas__indsta' => string 'string' (length=6)
  115.       'Societas.indsta' => string 'string' (length=6)
  116.       'indsta' => string 'string' (length=6)
  117.       'Societas__colori' => string 'string' (length=6)
  118.       'Societas.colori' => string 'string' (length=6)
  119.       'colori' => string 'string' (length=6)
  120.       'Societas__prof' => string 'string' (length=6)
  121.       'Societas.prof' => string 'string' (length=6)
  122.       'prof' => string 'string' (length=6)
  123.       'Societas__stemma' => string 'string' (length=6)
  124.       'Societas.stemma' => string 'string' (length=6)
  125.       'stemma' => string 'string' (length=6)
  126.       'Societas__att' => string 'string' (length=6)
  127.       'Societas.att' => string 'string' (length=6)
  128.       'att' => string 'string' (length=6)
  129.       'Societas__gira' => string 'string' (length=6)
  130.       'Societas.gira' => string 'string' (length=6)
  131.       'gira' => string 'string' (length=6)
  132.       'Societas__idpage' => string 'string' (length=6)
  133.       'Societas.idpage' => string 'string' (length=6)
  134.       'idpage' => string 'string' (length=6)
  135.   public 'decorators' => int 0
  136.   public 'executed' => boolean false
  137.   public 'hydrate' => boolean true
  138.   public 'buffered' => boolean true
  139.   public 'formatters' => int 0
  140.   public 'mapReducers' => int 0
  141.   public 'contain' =>
  142.     array (size=2)
  143.       'Allenatores' =>
  144.         array (size=0)
  145.           empty
  146.       'Societas' =>
  147.         array (size=0)
  148.           empty
  149.   public 'matching' =>
  150.     array (size=0)
  151.       empty
  152.   public 'extraOptions' =>
  153.     array (size=0)
  154.       empty
  155.   public 'repository' =>
  156.     object(App\Model\Table\StagioneAllenatoresTable)[135]
  157.       public 'registryAlias' => string 'Stagioneallenatores' (length=19)
  158.       public 'table' => string 'stagione_allenatores' (length=20)
  159.       public 'alias' => string 'Stagioneallenatores' (length=19)
  160.       public 'entityClass' => string 'App\Model\Entity\StagioneAllenatore' (length=35)
  161.       public 'associations' =>
  162.         array (size=2)
  163.           0 => string 'allenatores' (length=11)
  164.           1 => string 'societas' (length=8)
  165.       public 'behaviors' =>
  166.         array (size=1)
  167.           0 => string 'Timestamp' (length=9)
  168.       public 'defaultConnection' => string 'default' (length=7)
  169.       public 'connectionName' => string 'default' (length=7)C:\Program Files (x86)\Ampps\www\calciotelCakePhp\src\Controller\StagioneAllenatoresController.php:31:
  170. object(Cake\ORM\Query)[142]
  171.   public '(help)' => string 'This is a Query object, to get the results execute or iterate it.' (length=65)
  172.   public 'sql' => string 'SELECT Stagioneallenatores.id AS `Stagioneallenatores__id`, Stagioneallenatores.id_allenatore AS `Stagioneallenatores__id_allenatore`, Stagioneallenatores.id_societa AS `Stagioneallenatores__id_societa`, Stagioneallenatores.anno AS `Stagioneallenatores__anno`, Stagioneallenatores.stagione AS `Stagioneallenatores__stagione`, Stagioneallenatores.SERIE AS `Stagioneallenatores__SERIE`, Stagioneallenatores.POS AS `Stagioneallenatores__POS`, Stagioneallenatores.CLASS AS `Stagioneallenatores__CLASS`, Stagioneallen'... (length=2133)
  173.   public 'params' =>
  174.     array (size=0)
  175.       empty
  176.   public 'defaultTypes' =>
  177.     array (size=121)
  178.       'Stagioneallenatores__id' => string 'integer' (length=7)
  179.       'Stagioneallenatores.id' => string 'integer' (length=7)
  180.       'id' => string 'integer' (length=7)
  181.       'Stagioneallenatores__id_allenatore' => string 'integer' (length=7)
  182.       'Stagioneallenatores.id_allenatore' => string 'integer' (length=7)
  183.       'id_allenatore' => string 'integer' (length=7)
  184.       'Stagioneallenatores__id_societa' => string 'integer' (length=7)
  185.       'Stagioneallenatores.id_societa' => string 'integer' (length=7)
  186.       'id_societa' => string 'integer' (length=7)
  187.       'Stagioneallenatores__anno' => string 'integer' (length=7)
  188.       'Stagioneallenatores.anno' => string 'integer' (length=7)
  189.       'anno' => string 'integer' (length=7)
  190.       'Stagioneallenatores__stagione' => string 'string' (length=6)
  191.       'Stagioneallenatores.stagione' => string 'string' (length=6)
  192.       'stagione' => string 'string' (length=6)
  193.       'Stagioneallenatores__SERIE' => string 'string' (length=6)
  194.       'Stagioneallenatores.SERIE' => string 'string' (length=6)
  195.       'SERIE' => string 'string' (length=6)
  196.       'Stagioneallenatores__POS' => string 'integer' (length=7)
  197.       'Stagioneallenatores.POS' => string 'integer' (length=7)
  198.       'POS' => string 'integer' (length=7)
  199.       'Stagioneallenatores__CLASS' => string 'string' (length=6)
  200.       'Stagioneallenatores.CLASS' => string 'string' (length=6)
  201.       'CLASS' => string 'string' (length=6)
  202.       'Stagioneallenatores__VN' => string 'integer' (length=7)
  203.       'Stagioneallenatores.VN' => string 'integer' (length=7)
  204.       'VN' => string 'integer' (length=7)
  205.       'Stagioneallenatores__NU' => string 'integer' (length=7)
  206.       'Stagioneallenatores.NU' => string 'integer' (length=7)
  207.       'NU' => string 'integer' (length=7)
  208.       'Stagioneallenatores__PE' => string 'integer' (length=7)
  209.       'Stagioneallenatores.PE' => string 'integer' (length=7)
  210.       'PE' => string 'integer' (length=7)
  211.       'Stagioneallenatores__GF' => string 'integer' (length=7)
  212.       'Stagioneallenatores.GF' => string 'integer' (length=7)
  213.       'GF' => string 'integer' (length=7)
  214.       'Stagioneallenatores__GS' => string 'integer' (length=7)
  215.       'Stagioneallenatores.GS' => string 'integer' (length=7)
  216.       'GS' => string 'integer' (length=7)
  217.       'Allenatores__id' => string 'integer' (length=7)
  218.       'Allenatores.id' => string 'integer' (length=7)
  219.       'Allenatores__cognome' => string 'string' (length=6)
  220.       'Allenatores.cognome' => string 'string' (length=6)
  221.       'cognome' => string 'string' (length=6)
  222.       'Allenatores__nome' => string 'string' (length=6)
  223.       'Allenatores.nome' => string 'string' (length=6)
  224.       'nome' => string 'string' (length=6)
  225.       'Allenatores__data_nascita' => string 'date' (length=4)
  226.       'Allenatores.data_nascita' => string 'date' (length=4)
  227.       'data_nascita' => string 'date' (length=4)
  228.       'Allenatores__luogo_nascita' => string 'string' (length=6)
  229.       'Allenatores.luogo_nascita' => string 'string' (length=6)
  230.       'luogo_nascita' => string 'string' (length=6)
  231.       'Allenatores__qualifica' => string 'string' (length=6)
  232.       'Allenatores.qualifica' => string 'string' (length=6)
  233.       'qualifica' => string 'string' (length=6)
  234.       'Societas__id' => string 'integer' (length=7)
  235.       'Societas.id' => string 'integer' (length=7)
  236.       'Societas__nome_societa' => string 'string' (length=6)
  237.       'Societas.nome_societa' => string 'string' (length=6)
  238.       'nome_societa' => string 'string' (length=6)
  239.       'Societas__nome_societa_breve' => string 'string' (length=6)
  240.       'Societas.nome_societa_breve' => string 'string' (length=6)
  241.       'nome_societa_breve' => string 'string' (length=6)
  242.       'Societas__sede' => string 'string' (length=6)
  243.       'Societas.sede' => string 'string' (length=6)
  244.       'sede' => string 'string' (length=6)
  245.       'Societas__cap' => string 'string' (length=6)
  246.       'Societas.cap' => string 'string' (length=6)
  247.       'cap' => string 'string' (length=6)
  248.       'Societas__citta' => string 'string' (length=6)
  249.       'Societas.citta' => string 'string' (length=6)
  250.       'citta' => string 'string' (length=6)
  251.       'Societas__pr' => string 'string' (length=6)
  252.       'Societas.pr' => string 'string' (length=6)
  253.       'pr' => string 'string' (length=6)
  254.       'Societas__nazionalita_campionato' => string 'string' (length=6)
  255.       'Societas.nazionalita_campionato' => string 'string' (length=6)
  256.       'nazionalita_campionato' => string 'string' (length=6)
  257.       'Societas__serie_campionato' => string 'string' (length=6)
  258.       'Societas.serie_campionato' => string 'string' (length=6)
  259.       'serie_campionato' => string 'string' (length=6)
  260.       'Societas__tel' => string 'string' (length=6)
  261.       'Societas.tel' => string 'string' (length=6)
  262.       'tel' => string 'string' (length=6)
  263.       'Societas__fax' => string 'string' (length=6)
  264.       'Societas.fax' => string 'string' (length=6)
  265.       'fax' => string 'string' (length=6)
  266.       'Societas__http' => string 'string' (length=6)
  267.       'Societas.http' => string 'string' (length=6)
  268.       'http' => string 'string' (length=6)
  269.       'Societas__face' => string 'string' (length=6)
  270.       'Societas.face' => string 'string' (length=6)
  271.       'face' => string 'string' (length=6)
  272.       'Societas__email' => string 'string' (length=6)
  273.       'Societas.email' => string 'string' (length=6)
  274.       'email' => string 'string' (length=6)
  275.       'Societas__stadio' => string 'string' (length=6)
  276.       'Societas.stadio' => string 'string' (length=6)
  277.       'stadio' => string 'string' (length=6)
  278.       'Societas__indsta' => string 'string' (length=6)
  279.       'Societas.indsta' => string 'string' (length=6)
  280.       'indsta' => string 'string' (length=6)
  281.       'Societas__colori' => string 'string' (length=6)
  282.       'Societas.colori' => string 'string' (length=6)
  283.       'colori' => string 'string' (length=6)
  284.       'Societas__prof' => string 'string' (length=6)
  285.       'Societas.prof' => string 'string' (length=6)
  286.       'prof' => string 'string' (length=6)
  287.       'Societas__stemma' => string 'string' (length=6)
  288.       'Societas.stemma' => string 'string' (length=6)
  289.       'stemma' => string 'string' (length=6)
  290.       'Societas__att' => string 'string' (length=6)
  291.       'Societas.att' => string 'string' (length=6)
  292.       'att' => string 'string' (length=6)
  293.       'Societas__gira' => string 'string' (length=6)
  294.       'Societas.gira' => string 'string' (length=6)
  295.       'gira' => string 'string' (length=6)
  296.       'Societas__idpage' => string 'string' (length=6)
  297.       'Societas.idpage' => string 'string' (length=6)
  298.       'idpage' => string 'string' (length=6)
  299.   public 'decorators' => int 0
  300.   public 'executed' => boolean false
  301.   public 'hydrate' => boolean true
  302.   public 'buffered' => boolean true
  303.   public 'formatters' => int 0
  304.   public 'mapReducers' => int 0
  305.   public 'contain' =>
  306.     array (size=2)
  307.       'Allenatores' =>
  308.         array (size=0)
  309.           empty
  310.       'Societas' =>
  311.         array (size=0)
  312.           empty
  313.   public 'matching' =>
  314.     array (size=0)
  315.       empty
  316.   public 'extraOptions' =>
  317.     array (size=0)
  318.       empty
  319.   public 'repository' =>
  320.     object(App\Model\Table\StagioneAllenatoresTable)[135]
  321.       public 'registryAlias' => string 'Stagioneallenatores' (length=19)
  322.       public 'table' => string 'stagione_allenatores' (length=20)
  323.       public 'alias' => string 'Stagioneallenatores' (length=19)
  324.       public 'entityClass' => string 'App\Model\Entity\StagioneAllenatore' (length=35)
  325.       public 'associations' =>
  326.         array (size=2)
  327.           0 => string 'allenatores' (length=11)
  328.           1 => string 'societas' (length=8)
  329.       public 'behaviors' =>
  330.         array (size=1)
  331.           0 => string 'Timestamp' (length=9)
  332.       public 'defaultConnection' => string 'default' (length=7)
  333.       public 'connectionName' => string 'default' (length=7)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement