gyro/modules/status/model/base/fields/dbfield.enum.stati.cls.php
Go to the documentation of this file.00001 <?php 00002 /** 00003 * DBField for default stati 00004 * 00005 * @author Gerd Riesselmann 00006 * @ingroup Status 00007 */ 00008 class DBFieldEnumStati extends DBFieldEnum { 00009 /** 00010 * Constructor 00011 * 00012 * @param string $name Name 00013 * @param string $default_value Default value 00014 * @param int $policy 00015 */ 00016 public function __construct($name = 'status', $default_value = Stati::UNCONFIRMED, $policy = self::NOT_NULL) { 00017 parent::__construct($name, array_keys(Stati::get_stati()), $default_value, $policy); 00018 } 00019 00020 }