lib/Psc/CMS/Controller/AbstractEntityController.php
public function saveEntity($identifier, FormData $requestData, $subResource = NULL) {
    $revision = $this->defaultRevision;
    $entity = $this->getEntity($identifier);
    
    if ($subResource !== NULL && array_key_exists($subResource, $this->customActions)) {
      return $this->callCustomAction($this->customActions[$subResource], array($entity, $requestData, $revision));
    }
    
    return $this->updateEntityRevision($entity, $revision, $requestData, $subResource);
  }
public function saveEntity($identifier, FormData $requestData, $subResource = NULL) {
    $revision = $this->defaultRevision;
    $entity = $this->getEntity($identifier);
    
    if ($subResource !== NULL && array_key_exists($subResource, $this->customActions)) {
      return $this->callCustomAction($this->customActions[$subResource], array($entity, $requestData, $revision));
    }
    
    return $this->updateEntityRevision($entity, $revision, $requestData, $subResource);
  }
public function saveEntity ( $ identifier , FormData $ requestData , $ subResource = NULL ) { $ revision = $ this -> defaultRevision ; $ entity = $ this -> getEntity ( $ identifier ) ; if ( $ subResource !== NULL && array_key_exists ( $ subResource , $ this -> customActions ) ) { return $ this -> callCustomAction ( $ this -> customActions [ $ subResource ] , array ( $ entity , $ requestData , $ revision ) ) ; } return $ this -> updateEntityRevision ( $ entity , $ revision , $ requestData , $ subResource ) ; }
Saves the Entity default Revision

@controller-api
@return Entity
Saves the Entity default Revision