Colin Kuskie
|
a2760b2967
|
Add missing POD for get_all_settable_list in Definition::Meta::Class
|
2010-08-28 15:21:09 -07:00 |
|
Colin Kuskie
|
472f5ffbaf
|
Fix another POD typo. get_tables searches properties, not classes now.
|
2010-08-24 10:43:50 -07:00 |
|
Colin Kuskie
|
4abc827261
|
Update the POD for property_metaroles.
|
2010-08-23 22:19:12 -07:00 |
|
Colin Kuskie
|
42784e1b98
|
Fix copy/paste POD in Settable role.
|
2010-08-20 07:47:39 -07:00 |
|
Colin Kuskie
|
193223c678
|
Adding Settable flag for non-properties that should be handled by set/write.
|
2010-06-04 13:19:03 -07:00 |
|
Colin Kuskie
|
8c759ed7bc
|
Implement keywords differently (successfully) in the Asset class. Extra tests to verify it in Asset.t
|
2010-06-04 11:33:06 -07:00 |
|
Colin Kuskie
|
855b59f61d
|
Similar changes as to Definition::Meta::Class in --::Asset
|
2010-05-07 17:58:00 -07:00 |
|
Colin Kuskie
|
6154044719
|
when using goto on objects, must restore $self into @_...
|
2010-05-07 17:56:30 -07:00 |
|
Graham Knop
|
0efa62a73c
|
asset immutability
|
2010-04-19 18:57:01 -05:00 |
|
Colin Kuskie
|
e076ecbfe2
|
Add tests for traits and coercion for JSON in the db.
|
2010-03-18 09:00:21 -07:00 |
|
Colin Kuskie
|
f4467cb10f
|
Attempt #1 to pass traits through property.
|
2010-03-11 13:42:38 -08:00 |
|
Colin Kuskie
|
a3614f5211
|
Move uiLevel from a define to a property so it can be inherited.
|
2010-03-09 12:58:55 -08:00 |
|
Colin Kuskie
|
053b5a869e
|
Rework get_tables to check each and every property.
|
2010-03-04 16:08:30 -08:00 |
|
Colin Kuskie
|
4d3d031d78
|
remove copy/paste variable names.
|
2010-03-03 15:45:46 -08:00 |
|
Graham Knop
|
a5f54a7910
|
mostly working definition roles
|
2010-03-02 00:49:09 -06:00 |
|
Graham Knop
|
12fcdf201f
|
almost working using metaclass roles
|
2010-02-26 16:55:57 -06:00 |
|
Graham Knop
|
a2f0cbe9ba
|
fix more things for metaclass roles
|
2010-02-26 16:55:35 -06:00 |
|
Graham Knop
|
13b753850f
|
start of conversion to metaclass roles
|
2010-02-26 16:54:03 -06:00 |
|
Colin Kuskie
|
60375516ab
|
More attribute => aspect changes. Add get_all_attributes_list, which returns a list of the names of all attributes.
|
2010-01-25 19:21:00 -08:00 |
|
Colin Kuskie
|
ed752a25c3
|
Make WebGUI::Definition property methods work the same way that Moose attribute methods do.
Specifically, get_property_list does not return property names from all classes. Add a new
method to do that. Refactor and reuse lots of code.
|
2010-01-08 09:04:27 -08:00 |
|
Colin Kuskie
|
49992dddb9
|
move get_tables back into Meta/Class. Refactor it to use get_all_class_metas instead of iterating over all the properties.
|
2010-01-07 18:25:45 -08:00 |
|
Colin Kuskie
|
15c5318a27
|
Encapsulate a method to return all the meta objects for classes used by an object.
Refactor the code out of get_all_properties into its own method. This will be
used by the write method in Asset.pm, at least.
|
2010-01-07 18:15:40 -08:00 |
|
Colin Kuskie
|
0627d7adbf
|
add uiLevel asset attribute. Begin to work on write.
|
2010-01-04 19:14:53 -08:00 |
|
Colin Kuskie
|
ce3edcf743
|
Move get_tables from Meta/Class into Meta/Asset. s/getTables/meta->get_tables/;
|
2010-01-04 15:34:24 -08:00 |
|
Colin Kuskie
|
456eb6f39a
|
Fix POD, condense Asset attributes. A test for tableName in the constructor.
|
2009-12-17 18:07:47 -08:00 |
|
Colin Kuskie
|
e1be2f9319
|
Make fieldType a required property option. Check for the presence of either noFormPost or label.
|
2009-12-17 13:25:27 -08:00 |
|
Colin Kuskie
|
3b31069b1c
|
Make fieldType a required parameter of a Definition Asset property.
|
2009-12-17 13:00:54 -08:00 |
|
Colin Kuskie
|
c93bdc7950
|
add get_tables, and refactor out get_all_properties from get_property_list
|
2009-12-16 15:13:15 -08:00 |
|
Colin Kuskie
|
5b5d4783d0
|
Make get_property_list API compatible with get_attribute_list, by returning an array.
|
2009-12-16 13:31:48 -08:00 |
|
Colin Kuskie
|
64fc4a231d
|
Define what the assetName accessor returns.
|
2009-12-16 13:31:27 -08:00 |
|
Colin Kuskie
|
059bd6761d
|
Uniqueness check on attribute names in get_property_list. Add tests for that, and for get_attributes
|
2009-12-11 11:56:16 -08:00 |
|
Colin Kuskie
|
334f3414c3
|
Handle insertion order in multiple classes. This breaks overriding properties in the Definition.
|
2009-12-11 10:54:23 -08:00 |
|
Colin Kuskie
|
19b784cd95
|
Fix get_property_list. Add tests.
|
2009-12-10 18:54:18 -08:00 |
|
Colin Kuskie
|
849e8d4037
|
Change get_property_list from an attribute to a method in Definition::Meta::Class.
|
2009-12-10 15:54:49 -08:00 |
|
Graham Knop
|
2c7eb7478e
|
change table to tableName in definition
|
2009-12-07 12:22:33 -06:00 |
|
Colin Kuskie
|
129f675f29
|
POD for WebGUI::Definition::Meta::Property::Asset
|
2009-12-05 14:23:13 -08:00 |
|
Colin Kuskie
|
841f9418a8
|
POD for WebGUI::Definition::Meta::Property
|
2009-12-05 14:22:21 -08:00 |
|
Colin Kuskie
|
d78359c13a
|
POD for Definition::Meta::Class
|
2009-12-05 13:53:05 -08:00 |
|
Colin Kuskie
|
8491775491
|
POD for Definition/Meta/Property/Asset.pm
Adopted the style of postfix POD when dealing with Moose specific
code. It's much easier to read both.
|
2009-12-05 12:31:02 -08:00 |
|
Colin Kuskie
|
a1957b324a
|
POD for Definition::Meta::Property.
|
2009-12-05 12:30:34 -08:00 |
|
Graham Knop
|
88aba652c7
|
moose based definition
|
2009-12-02 11:37:41 -06:00 |
|