Location: PHPKode > projects > Agile Toolkit > atk4-atk4-addons-5a69383/filestore/lib/Model/Type.php
<?php
namespace filestore;
class Model_Type extends \Model_Table {
	public $table='filestore_type';
	function init(){
		parent::init();
		$this->newField('name')
			;
		$this->newField('mime_type')
			;
		$this->newField('extension')
			;
		// TODO: extension should be substituted when recording filename
	}
}
Return current item: Agile Toolkit