Location: PHPKode > projects > Agile Toolkit > atk4-atk4-addons-efc6814/misc/lib/Model/Doc/Howto.php
<?php
class Model_Doc_Howto extends Model_Table {
	public $entity_code='doc_howto';

	function defineFields(){
		parent::defineFields();

		$this->newField('title')
			->mandatory(true)
			;

		$this->newField('keywords')
			;

		$this->newField('inherit')
			;

		$this->newField('descr')
			->datatype('text')
			;

		$this->newField('example')
			->datatype('text')
			;

		$this->newField('approved')
			->datatype('boolean')
			;
	}
}
Return current item: Agile Toolkit