Uwe Steinmann
|
c9fae356b3
|
add callbacks on onPostUpdateAttribute and onPostAddAttribute
|
2022-02-25 12:31:57 +01:00 |
|
Uwe Steinmann
|
b8763822d0
|
init possible values of attribute in getStatistic()
|
2021-09-28 16:19:25 +02:00 |
|
Uwe Steinmann
|
16da190e06
|
setRegex() checks regex only if not ''
|
2021-09-16 17:10:41 +02:00 |
|
Uwe Steinmann
|
95b4bb9d22
|
init value set, separator, trim value set in setValue()
|
2021-09-16 16:14:51 +02:00 |
|
Uwe Steinmann
|
4aa4556df8
|
add more documentation
|
2021-09-16 16:14:21 +02:00 |
|
Uwe Steinmann
|
32dda4b3e9
|
return ',' as separator for most attr types, if value map is not set
|
2021-09-16 16:12:54 +02:00 |
|
Uwe Steinmann
|
c50be6d215
|
init separator and validation error in constructor
|
2021-09-16 16:12:27 +02:00 |
|
Uwe Steinmann
|
ffe4b50c7f
|
many value validation improvements, use constants for validation errors
|
2021-09-16 16:11:13 +02:00 |
|
Uwe Steinmann
|
cd1800c19d
|
add docs for var $separator
|
2021-09-16 16:09:18 +02:00 |
|
Uwe Steinmann
|
90074c3947
|
fix get value map separator
|
2021-09-16 16:07:31 +02:00 |
|
Uwe Steinmann
|
8eb5882520
|
revert to regex for email validation
|
2021-06-29 10:20:31 +02:00 |
|
Uwe Steinmann
|
369497ee3a
|
fix validation of emails
|
2021-06-21 18:09:59 +02:00 |
|
Uwe Steinmann
|
ceed62bf2b
|
do not validate value in SeedDMS_Core_Attribute::setValue(), it should have been done before
|
2021-03-06 15:26:18 +01:00 |
|
Uwe Steinmann
|
6e46e95702
|
pass current object and $new to validate()
|
2020-12-14 18:46:38 +01:00 |
|
Uwe Steinmann
|
55e0204054
|
new parameter 'new' of SeedDMS_Core_AttributeDefinition::validate()
|
2020-12-14 18:16:35 +01:00 |
|
Uwe Steinmann
|
c4cdf7b92e
|
add method getDMS()
|
2020-12-14 17:20:06 +01:00 |
|
Uwe Steinmann
|
ec5a17f4f3
|
pass attribute value to callback 'onAttributeValidate'
|
2020-12-14 14:32:40 +01:00 |
|
Uwe Steinmann
|
ce2ee995fc
|
getValueSetSeparator() returns ',' for type_user and type_group
|
2020-09-01 14:59:16 +02:00 |
|
Uwe Steinmann
|
051fac8281
|
add validation and parsing of new types (user, group, etc.)
|
2020-09-01 09:22:48 +02:00 |
|
Uwe Steinmann
|
9117f8f64a
|
add new attribute types 'document', 'folder', 'user', 'group'
|
2020-08-28 11:45:37 +02:00 |
|
Uwe Steinmann
|
3cf091099b
|
fix many remaining todos (moѕtly wrong var names)
|
2020-06-05 18:06:27 +02:00 |
|
Uwe Steinmann
|
c4addcd4aa
|
getStatistics() returns single values, add removeValue(), fix sql in getObjects()
|
2018-02-22 19:10:39 +01:00 |
|
Uwe Steinmann
|
3e5d744d6d
|
Merge commit '10896ca183a4fa0b30c02fca8831d2f5497e6a76' into seeddms-5.1.x
|
2018-02-08 09:25:45 +01:00 |
|
Uwe Steinmann
|
b6ce91c8ee
|
fix validation return value
|
2017-11-21 11:27:17 +01:00 |
|
Jörg Neugebauer
|
61382afc7b
|
inc.ClassAttribute.php
|
2017-10-24 12:44:22 +02:00 |
|
Uwe Steinmann
|
2471aab8cc
|
check for callback onAttributeValidate
|
2017-06-27 17:06:32 +02:00 |
|
Uwe Steinmann
|
6e41c58beb
|
add backticks around identifier in sql statements
|
2017-02-10 08:04:19 +01:00 |
|
Uwe Steinmann
|
046f33f2e1
|
validate() is less strict on multi value attributes
if the attribute has just one value the leading separator can be
omitted
|
2016-11-14 11:26:26 +01:00 |
|
Uwe Steinmann
|
7d7bff7b22
|
Merge branch 'seeddms-4.3.x' into seeddms-5.0.x
|
2016-11-14 11:11:00 +01:00 |
|
Uwe Steinmann
|
530d75fdf0
|
getValueAsArray() checks if value starts with separator
new funtion parseValue()
|
2016-11-14 11:04:57 +01:00 |
|
Uwe Steinmann
|
758ce0a24d
|
validate() returns early if error was found
|
2016-10-27 17:47:47 +02:00 |
|
Uwe Steinmann
|
f616256509
|
set check for boolean and date values, set more validation errors
|
2016-10-27 09:17:14 +02:00 |
|
Uwe Steinmann
|
11162ee2c5
|
add check for valid email address
|
2016-10-25 07:55:27 +02:00 |
|
Uwe Steinmann
|
e77bec4419
|
Merge branch 'seeddms-4.3.x' into seeddms-5.0.x
|
2016-10-07 16:08:56 +02:00 |
|
Uwe Steinmann
|
e0880e8ebd
|
add new method getValueSetSeparator()
|
2016-10-07 11:37:35 +02:00 |
|
Uwe Steinmann
|
1541fc26ec
|
Merge branch 'seeddms-4.3.x' into seeddms-5.0.x
|
2016-10-06 15:27:52 +02:00 |
|
Uwe Steinmann
|
f1bd74426e
|
trim values in value set when retrieving it
|
2016-10-06 08:01:57 +02:00 |
|
Uwe Steinmann
|
aa62818e90
|
make sure $success has a value in validation method
|
2016-10-05 16:03:47 +02:00 |
|
Uwe Steinmann
|
0577fec1ba
|
Merge branch 'seeddms-4.3.x' into seeddms-5.0.x
|
2016-03-22 15:11:42 +01:00 |
|
Uwe Steinmann
|
826c9fca72
|
use __construct for constructor
|
2016-03-22 15:08:36 +01:00 |
|
Uwe Steinmann
|
b04571da11
|
Merge branch 'seeddms-4.3.x' into seeddms-5.0.x
|
2016-02-04 19:13:06 +01:00 |
|
Uwe Steinmann
|
f57a6a6600
|
getStatistics() returns info about folders and versions
|
2016-02-04 18:25:04 +01:00 |
|
Uwe Steinmann
|
d835aa84fe
|
better checking when setting attr. value
|
2016-02-03 14:45:00 +01:00 |
|
Uwe Steinmann
|
50e0d2a885
|
Merge branch 'seeddms-4.3.x' into seeddms-5.0.x
|
2015-10-30 08:41:40 +01:00 |
|
Uwe Steinmann
|
f225b42d71
|
set number of type_date to 7
|
2015-10-30 08:06:32 +01:00 |
|
Uwe Steinmann
|
ec581518f0
|
add new type for date fields
|
2015-10-30 08:05:22 +01:00 |
|
Uwe Steinmann
|
b0bc6e5c01
|
use variable classnames instead of fixed names
|
2015-04-15 16:11:07 +02:00 |
|
Uwe Steinmann
|
3f35ff5671
|
add new attribute types url and email, add attribute validation
|
2015-04-14 19:36:10 +02:00 |
|
Uwe Steinmann
|
2fb95a1d4a
|
add some more documentation
|
2014-11-17 10:45:07 +01:00 |
|
Uwe Steinmann
|
86ba6aa6a6
|
add new method getValueAsArray()
helpful for multi value attributes
|
2014-11-13 08:20:45 +01:00 |
|