58 public function add($object) {
69 public function remove($object) {
81 public function replace($existingObject, $newObject) {
91 public function update($modifiedObject) {
123 $whereClause =
'1=1';
124 if ($this->type !=
'') {
125 $whereClause .=
' AND ' . $this->typeField .
' = ' .
$GLOBALS[
'TYPO3_DB']->fullQuoteStr($this->type, $this->table) .
' ';
128 $res =
$GLOBALS[
'TYPO3_DB']->exec_SELECTquery(
'*', $this->table, $whereClause);
129 while ($row =
$GLOBALS[
'TYPO3_DB']->sql_fetch_assoc($res)) {
132 $GLOBALS[
'TYPO3_DB']->sql_free_result($res);
178 throw new \InvalidArgumentException(
'uid has to be integer.', 1316779798);
181 if (empty($row) || !is_array($row)) {
182 throw new \RuntimeException(
'Could not find row with uid "' .
$uid .
'" in table ' . $this->table, 1314354065);
196 $whereClause =
$GLOBALS[
'TSFE']->sys_page->enableFields($this->table);
197 $whereClause .=
$GLOBALS[
'TSFE']->sys_page->deleteClause($this->table);
221 throw new \BadMethodCallException(
'Repository does not support the setDefaultOrderings() method.', 1313185906);
234 throw new \BadMethodCallException(
'Repository does not support the setDefaultQuerySettings() method.', 1313185907);
245 throw new \BadMethodCallException(
'Repository does not support the createQuery() method.', 1313185908);
268 public function __call($method, $arguments) {
269 throw new \BadMethodCallException(
'Repository method "' . $method .
'" is not implemented.', 1378918410);
279 return $this->objectType;
__call($method, $arguments)
findByIdentifier($identifier)
static canBeInterpretedAsInteger($var)
static makeInstance($className)
createDomainObject(array $databaseRow)
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]
getWhereClauseForEnabledFields()
replace($existingObject, $newObject)
setDefaultOrderings(array $defaultOrderings)
setDefaultQuerySettings(\TYPO3\CMS\Extbase\Persistence\Generic\QuerySettingsInterface $defaultQuerySettings)
static BEenableFields($table, $inv=0)
static deleteClause($table, $tableAlias='')