public function addOwner($owner_id, $owner, $owner_attribute)
    {
        $mediafiles = new Owners();
        $mediafiles->mediafile_id = $this->id;
        $mediafiles->owner = $owner;
        $mediafiles->owner_id = $owner_id;
        $mediafiles->owner_attribute = $owner_attribute;

        return $mediafiles->save();
    }
public function addOwner($owner_id, $owner, $owner_attribute)
    {
        $mediafiles = new Owners();
        $mediafiles->mediafile_id = $this->id;
        $mediafiles->owner = $owner;
        $mediafiles->owner_id = $owner_id;
        $mediafiles->owner_attribute = $owner_attribute;

        return $mediafiles->save();
    }
public function addOwner ( $ owner_id , $ owner , $ owner_attribute ) { $ mediafiles = new Owners ( ) ; $ mediafiles -> mediafile_id = $ this -> id ; $ mediafiles -> owner = $ owner ; $ mediafiles -> owner_id = $ owner_id ; $ mediafiles -> owner_attribute = $ owner_attribute ; return $ mediafiles -> save ( ) ; }
Add owner to mediafiles table

@param int $owner_id owner id
@param string $owner owner identification name
@param string $owner_attribute owner identification attribute
@return bool save result
Add owner to mediafiles table