public function set_data($values) { if (!$values) { return false; } $values = $this->hook->apply('content_set_data', $values); $file = new Data_File($this->get_data_file_path(), $this->config); $file->write($values, $this->filesystem); }
function write() { parent::write($this->data, $this->filesystem); }