* @subpackage MVC\Controller
* @version $ID:$
* @scope prototype
+ * @api
*/
class Tx_Extbase_MVC_Controller_Argument {
$this->name = $name;
$this->dataType = $dataType;
}
-
+
/**
* Initializes this object
*
$this->reflectionService = t3lib_div::makeInstance('Tx_Extbase_Reflection_Service');
$this->propertyMapper = t3lib_div::makeInstance('Tx_Extbase_Property_Mapper');
$this->propertyMapper->injectReflectionService($this->reflectionService);
- $this->dataTypeClassSchema = $this->reflectionService->getClassSchema($this->dataType);
+ $this->dataTypeClassSchema = (strstr($this->dataType, '_') !== FALSE) ? $this->reflectionService->getClassSchema($this->dataType) : NULL;
}
/**
*/
protected function findObjectByUid($uid) {
$query = $this->queryFactory->create($this->dataType);
+ $query->getQuerySettings()->setRespectSysLanguage(FALSE);
$result = $query->matching($query->withUid($uid))->execute();
$object = NULL;
if (count($result) > 0) {