Store the content.
761422
function storeObjectAttribute( $contentObjectAttribute )
    {
        $paex = $contentObjectAttribute->content();
        if ( !$paex instanceof eZPaEx )
        {
			// create a default paex object
            $paex = eZPaEx::create( $contentObjectAttribute->attribute( "contentobject_id" ) );
        }
        $paex->store();
        $contentObjectAttribute->setContent( $paex );
    }
478947
def store(self, thing):
        
        to_store = {'field1': thing.field1,
                    'date_field': thing.date_field,
                    }
        to_store['stuff'] = Binary(cPickle.dumps(thing.stuff))
        # Respect any soft-quota on write - raises if stats().totals.size > quota 
        self._arctic_lib.check_quota()
        self._collection.insert_one(to_store)
1370422
public void store() throws IOException
    {
        try {
            File file = new File(url.toURI());
            storeAs(file);
        }
        catch (URISyntaxException ex)
        {
            throw new RuntimeException(ex);
        }
    }
880164
def store(self, record, value):
        """"""
        record._values[self.name][record.id] = value
684280
def save_data(self):
        """"""
        filename = os.path.join(
            self._get_prefix(),
            self.model.site
        )
        self.store.store_json(
            filename,
            self.model.get_dict()
        )
890185
def content_type(self, data):
        """"""
        self._content_type = str(data)
        self.add_header('Content-Type', str(data))
167979
def content(self):
        """"""
        content_list = wrap_list(self._content_preprocessed)
        content_list.extend(self._content_stash)
        content_to_render = '\n'.join(content_list)
        return typogrify(self.content_renderer.render(content_to_render, self.format))
305936
public function store()
    {
        if ($this->id !== null) {
            $method = 'PUT';
            $path = '/' . $this->id;
        } else {
            $method = 'POST';
            $path = '';
        }
        $response = $this->request($method, $path, [], json_encode($this->data));
        $treatedContent = $response->getTreatedContent();

        $this->id = $treatedContent['_id'];
        $this->version = $treatedContent['_version'];
        $this->dirty = false;
    }
135760
def _store_object(self, obj_name, content, etag=None, chunked=False,
            chunk_size=None, headers=None):
        
        head_etag = headers.pop("ETag", "")
        if chunked:
            headers.pop("Content-Length", "")
            headers["Transfer-Encoding"] = "chunked"
        elif etag is None and content is not None:
            etag = utils.get_checksum(content)
        if etag:
            headers["ETag"] = etag
        if not headers.get("Content-Type"):
            headers["Content-Type"] = None
        uri = "/%s/%s" % (self.uri_base, obj_name)
        resp, resp_body = self.api.method_put(uri, data=content,
                headers=headers)
747914
def write(self, content):
        ''''''
        self.buffer.write(content)
        if settings.DEBUG:
            self.buffer.write('\n')
788288
protected function save()
	{
		$xml     = new SimpleXMLElement('<storage/>');
		$content = $this->getContent();
		array_to_xml($content, $xml);
		$this->file->setContent($xml->asXML());
	}
997735
def put_content(self, content):
        

        r = requests.request(self.method if self.method else 'PUT', self.url, data=content, **self.storage_args)
        if self.raise_for_status: r.raise_for_status()
35862
def setcontents(source, identifier, pointer):
    """"""
    record = Record.get_record(identifier)
    Document(record, pointer).setcontents(source)
92468
public function saveSeoContent() {
		$model = $this->getSeoContentModel();
		if (!$model->is_global) {
			$model->title = $this->owner->{$this->titleAttribute};
			$model->keywords = $this->owner->{$this->keywordsAttribute};
			$model->description = $this->owner->{$this->descriptionAttribute};
			$model->save();
		}
	}
404099
protected void storeContentInfoBean(CmsJspTagResourceLoad container) {

        CmsContentInfoBean contentInfoBean = container.getContentInfoBean();

        contentInfoBean.setPageSize(container.getContentInfoBean().getPageSize());
        contentInfoBean.setPageIndex(container.getContentInfoBean().getPageIndex());
        contentInfoBean.setResultSize(container.getContentInfoBean().getResultSize());

        storeAttribute(contentInfoBean);
    }
715042
def save(self, *args, **kwargs):
        
        self.text = clean_text(self.text)
        self.text_formatted = format_text(self.text)
        super(BaseUserContentModel, self).save(*args, **kwargs)
120579
def write(self):
        """"""
        with open(self.path, 'w') as file_:
            file_.write(self.content)