Please do not handle 'permissionCheck' in $options. This is handled in \Jarves\Object.
You will get in getList() a complex $pCondition object instead (if there are any ACL items)
$pk is an array with following format
array(
'' =>
'' =>
)
example
array(
'id' => 1234
)
public function configure($objectKey, $definition) { parent::configure($objectKey, $definition); if ($this->propelPrimaryKeys) { return; } $this->query = $this->getQueryClass(); $this->tableMap = $this->query->getTableMap(); $this->propelPrimaryKeys = $this->tableMap->getPrimaryKeys(); }
/** * {@inheritDoc} */ public function update($primaryKey, $values) { $this->mapPrimaryKey($primaryKey); $path = $this->getPathFromPK($primaryKey); $this->webFilesystem->write($path, $values['content']); return parent::update($primaryKey, $values); }
/** * {@inheritDoc} */ public function getPrimaryKeys() { return parent::getPrimaryKeys(); }