src/Model/Media/Content.php
public function store($objectURI = null)
    {
        //@TODO determine the user has permission to post;
        $this->setPropertyValue("media_owner", $this->user->getPropertyValue("user_name_id"));

        //Determine the target
        if (!$this->saveObject($objectURI, $this->getObjectType())) {
            //There is a problem! the error will be in $this->getError();
            return false;
        }
        return true;
    }
public function store($objectURI = null)
    {
        //@TODO determine the user has permission to post;
        $this->setPropertyValue("media_owner", $this->user->getPropertyValue("user_name_id"));

        //Determine the target
        if (!$this->saveObject($objectURI, $this->getObjectType())) {
            //There is a problem! the error will be in $this->getError();
            return false;
        }
        return true;
    }
Adds a new media object to the database
@return boolean Returns true on save, or false on failure