1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-28 00:10:57 +01:00
phorge-phorge/src/applications/herald/storage/HeraldCondition.php

31 lines
671 B
PHP
Raw Normal View History

2011-03-22 21:22:40 +01:00
<?php
final class HeraldCondition extends HeraldDAO {
2011-03-22 21:22:40 +01:00
protected $ruleID;
protected $fieldName;
2011-03-24 19:07:36 +01:00
protected $fieldCondition;
2011-03-22 21:22:40 +01:00
protected $value;
protected function getConfiguration() {
return array(
self::CONFIG_SERIALIZATION => array(
'value' => self::SERIALIZATION_JSON,
2011-03-24 19:07:36 +01:00
),
self::CONFIG_TIMESTAMPS => false,
self::CONFIG_COLUMN_SCHEMA => array(
'fieldName' => 'text255',
'fieldCondition' => 'text255',
'value' => 'text',
),
self::CONFIG_KEY_SCHEMA => array(
'ruleID' => array(
'columns' => array('ruleID'),
),
),
2011-03-22 21:22:40 +01:00
) + parent::getConfiguration();
}
}