本文整理汇总了PHP中eZDataType::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP eZDataType::__construct方法的具体用法?PHP eZDataType::__construct怎么用?PHP eZDataType::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类eZDataType
的用法示例。
在下文中一共展示了eZDataType::__construct方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
public function __construct()
{
parent::__construct(
self::DATA_TYPE_STRING, 'Serialized datas',
array(
'translation_allowed' => false,
'serialize_supported' => true
)
);
}
示例2: __construct
/**
* Announces datatype identifier and human readable name to eZDataType.
*
*/
public function __construct()
{
parent::__construct(self::DATATYPE_STRING, 'ymcDateTime');
}
示例3: __construct
/**
* Ctor.
*
*/
public function __construct()
{
parent::__construct(self::DATATYPE_STRING, 'ymc' . ezi18n('kernel/classes/datatypes', 'MSCHAPv2 LM-/NT-password', 'Datatype name'), array('serialize_supported' => false));
$this->IntegerValidator = new eZIntegerValidator();
}
示例4: array
function __construct()
{
parent::__construct(self::DATA_TYPE_STRING, ezpI18n::tr('kernel/classes/datatypes', "Selection", 'Datatype name'), array('serialize_supported' => true));
}
示例5: __construct
/**
* Ctor.
*
*/
public function __construct()
{
parent::__construct(self::DATATYPE_STRING, 'ymc' . ezi18n('kernel/classes/datatypes', "Domain", 'Datatype name'), array('serialize_supported' => true, 'object_serialize_map' => array('data_text' => 'value'), "translation_allowed" => false));
$this->IntegerValidator = new eZIntegerValidator();
}
示例6: array
function __construct()
{
parent::__construct(self::DATA_TYPE_STRING, ezpI18n::tr('kernel/classes/datatypes', "Float", 'Datatype name'), array('serialize_supported' => true, 'object_serialize_map' => array('data_float' => 'value')));
$this->FloatValidator = new eZFloatValidator();
}
示例7: array
function __construct()
{
parent::__construct(self::DATA_TYPE_STRING, ezpI18n::tr('kernel/classes/datatypes', 'Ini Setting', 'Datatype name'), array('translation_allowed' => false, 'serialize_supported' => true));
}
示例8: array
function __construct()
{
parent::__construct(self::DATA_TYPE_STRING, ezpI18n::tr('kernel/classes/datatypes', "Product category", 'Datatype name'), array('serialize_supported' => true, 'object_serialize_map' => array('data_int' => 'value')));
}
示例9: __construct
/**
* Initializes with a string id and a description.
*/
public function __construct()
{
parent::__construct(self::DATATYPE_STRING, 'ymc' . ezi18n('kernel/classes/datatypes', "Volume", 'Datatype name'), array('serialize_supported' => true, 'object_serialize_map' => array('data_float' => 'value')));
$this->FloatValidator = new eZFloatValidator();
}
示例10: array
function __construct()
{
parent::__construct(self::DATA_TYPE_STRING, ezpI18n::tr('kernel/classes/datatypes', "ISBN", 'Datatype name'), array('serialize_supported' => true, 'object_serialize_map' => array(self::CONTENT_VALUE => 'isbn')));
}
示例11: array
/**
* Constructor
*/
function __construct()
{
parent::__construct(self::DATA_TYPE_STRING, 'Related Nodes', array('serialize_supported' => true));
}
示例12: __construct
/**
* Constructs a new ymcDatatypeInstantMessengerType instance.
*
*/
public function __construct()
{
parent::__construct(self::DATATYPE_STRING, 'ymc' . ezi18n('kernel/classes/datatypes', 'Instant Messenger', 'Datatype name'), array('serialize_supported' => true, 'object_serialize_map' => array('data_text' => 'text')));
$this->IntegerValidator = new eZIntegerValidator();
}
示例13: array
/**
* Constructor
*
*/
function __construct()
{
parent::__construct(self::DATA_TYPE_STRING, ezpI18n::tr('extension/eztags/datatypes', 'Tags'), array('serialize_supported' => true));
}
示例14:
/**
* Constructor
*/
function __construct()
{
parent::__construct(Type::IDENTIFIER, ezpI18n::tr('extension/novaseo/text', "Nova SEO Metas", 'Datatype name'));
}
示例15: array
function __construct()
{
parent::__construct(self::DATA_TYPE_STRING, ezpI18n::tr('kernel/classes/datatypes', "XML block", 'Datatype name'), array('serialize_supported' => true));
$this->deletedStoredObjectAttribute = array();
}