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 )
Example #1
0
 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();
 }
Example #2
0
 /**
  * {@inheritDoc}
  */
 public function update($primaryKey, $values)
 {
     $this->mapPrimaryKey($primaryKey);
     $path = $this->getPathFromPK($primaryKey);
     $this->webFilesystem->write($path, $values['content']);
     return parent::update($primaryKey, $values);
 }
Example #3
0
 /**
  * {@inheritDoc}
  */
 public function getPrimaryKeys()
 {
     return parent::getPrimaryKeys();
 }