Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am jaakkop on github.
  • I am jaakkop (https://keybase.io/jaakkop) on keybase.
  • I have a public key ASAMqrxu52N-czmFiTJkpIO7P6wm-XJCrBbiE2-k7aktTAo

To claim this, I am signing this object:

Verifying that +jaakkop is my openname (Bitcoin username). https://onename.io/jaakkop
public function saveContent() {
if(!empty($this->_contentData) && !empty($this->_contentSpecificData)) {
$node = $this->_contentData;
$node['data'] = $this->_contentSpecificData;
$this->DataHandler->setPrivileges($this->_privileges);
$content = $this->DataHandler->parseToNodes(array($node),$this->__type);
$contentId = $this->DataHandler->saveData($content);