This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$query = $GLOBALS["TYPO3_DB"]->exec_SELECTquery( | |
'tx_y7fahrzeugdatenbank_domain_model_fahrzeug.uid, tx_y7fahrzeugdatenbank_domain_model_fahrzeug.name, tx_y7fahrzeugdatenbank_domain_model_fahrzeug.beschreibung, news_uid, fahrzeug_uid', // SELECT | |
'tx_y7fahrzeugdatenbank_domain_model_fznewsrel JOIN tx_y7fahrzeugdatenbank_domain_model_fahrzeug ON tx_y7fahrzeugdatenbank_domain_model_fznewsrel.fahrzeug_uid = tx_y7fahrzeugdatenbank_domain_model_fahrzeug.uid', // FROM | |
'news_uid = 7' /*. $row['uid']*/, //WHERE | |
'', //GROUPBY | |
'', //ORDERBY | |
'', //LIMIT | |
'' //uidIndexField | |
); | |
$res = $GLOBALS['TYPO3_DB']->sql_fetch_assoc( $query ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$tempColumns = array ( | |
"is_operation" => array ( | |
"exclude" => 0, | |
"label" => "Ist Einsatz?", | |
"config" => Array ( | |
"type" => "check", | |
) | |
), | |
"participating_vehicles" => array ( | |
"exclude" => 0, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Table structure for table 'tt_news' | |
# | |
CREATE TABLE tt_news ( | |
is_operation tinyint(1) unsigned DEFAULT '0' NOT NULL, | |
participating_vehicles int(11) unsigned DEFAULT '0' NOT NULL, | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
caller TYPO3\CMS\Core\Database\DatabaseConnection::exec_SELECTquery | |
ERROR Unknown column 'sorting_foreign' in 'order clause' | |
lastBuiltQuery SELECT * FROM tx_y7fahrzeugdatenbank_domain_model_mm WHERE uid_foreign=7 AND local_uid='tx_y7fahrzeugdatenbank_domain_model_fahrzeug.uid' AND foreign_uid='tt_news.uid' ORDER BY sorting_foreign | |
debug_backtrace TYPO3\CMS\Backend\Controller\EditDocumentController->main#40 // TYPO3\CMS\Backend\Controller\EditDocumentController->makeEditForm#698 // TYPO3\CMS\Backend\Form\DataPreprocessor->fetchRecord#865 // TYPO3\CMS\Backend\Form\DataPreprocessor->renderRecord#168 // TYPO3\CMS\Backend\Form\DataPreprocessor->renderRecordRaw#214 // TYPO3\CMS\Backend\Form\DataPreprocessor->renderRecord_SW#264 // TYPO3\CMS\Backend\Form\DataPreprocessor->renderRecord_selectProc#300 // TYPO3\CMS\Backend\Form\DataPreprocessor->selectAddForeign#404 // TYPO3\CMS\Backend\Form\DataPreprocessor->getDataIdList#774 // TYPO3\CMS\Core\Database\RelationHandler->start#817 // TYPO3\CMS\Core\Database\Relation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$tempColumns = array ( | |
"is_operation" => array ( | |
"exclude" => 0, | |
"label" => "Ist Einsatz?", | |
"config" => Array ( | |
"type" => "check", | |
) | |
), | |
"participating_vehicles" => array ( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$tempColumns = array ( | |
"is_operation" => array ( | |
"exclude" => 0, | |
"label" => "Ist Einsatz?", | |
"config" => Array ( | |
"type" => "check", | |
) | |
), | |
"participating_vehicles" => array ( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$tempColumns = array ( | |
"is_operation" => array ( | |
"exclude" => 0, | |
"label" => "Ist Einsatz?", | |
"config" => Array ( | |
"type" => "check", | |
) | |
), | |
"participating_vehicles" => array ( | |
"exclude" => 0, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Y7group\Y7Fahrzeugdatenbank\Controller; | |
/*************************************************************** | |
* | |
* Copyright notice | |
* | |
* (c) 2015 Marc Ernst <ernst.marc@gmail.com>, Y7 group | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Y7group\Y7Fahrzeugdatenbank\Domain\Model; | |
/** | |
* Fahrzeug | |
*/ | |
class Fahrzeug extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity { | |
/** | |
* name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Y7group\Y7Fahrzeugdatenbank\Controller; | |
/** | |
* FahrzeugController | |
*/ | |
class FahrzeugController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionController { | |
/** | |
* fahrzeugRepository | |
* |
OlderNewer