summaryrefslogtreecommitdiff
path: root/framework/TComponent.php
AgeCommit message (Collapse)Author
2012-10-31MAJOR UPGRADE to TComponentjavalizard@gmail.com
This adds global 'fx' events, behaviors, class-wide behaviors, intra-object/behavior 'dy' events, and tweaks the raiseEvent to be more advanced (yet backward compatible). A large amount of documentation is in here too. Slight changes to the TApplication object is made to provide events with priorities. TComponent has a massive amount of test cases as well… There are now 512 assertions. Test cases have been added for testing the GetJS and SetJS and ensure functionality of these new getters and setters. The Behaviors are all tested and fully integrated into the TComponent Object. Behaviors are more transparently and widely integrated into TComponent. Class Behaviors rely on the global events to add behaviors to instanced objects. Class behaviors also allow for behaviors to be added during the instancing of new objects of the class. Dynamic events enable the object to send events directly to behaviors as intra-object events. Dynamic events can be chained as multiple behaviors may implement the event. This allows for parameter filtering. RaiseEvent allows for raising global events, capturing results, and feeding results forward into the next handlers parameters should the need arise. This is a forward thinking feature to enable new processes to be designed into the code for PRADO version 3.3 and future version 4.0. This functionality is transparent when unused. We are hoping this is fully backward compatible with the existing code base. It was designed for maximum backward compatibility while expanding the functional base exponentially. This clears the way for a new way of thinking about how objects relate.
2012-07-12happy new yearctrlaltca
2012-03-26added some documentation for the changes introduced to fix #391ctrlaltca@gmail.com
2012-03-25Reworked the patch for #391; now a TComponent-based controls can contain ↵ctrlaltca@gmail.com
methods prefixed by "js" to indicate that those methods can receive raw javascript. Such methods can be called both in a xss-safe, javascript-encoded way: $xxx->Property="yyy" and in a raw-javascript way: $xxx->jsProperty="zzz". Patch by gabor, documentation is on the way
2012-03-24Committer 2nd part of patch for #391ctrlaltca@gmail.com
2011-06-26applied serialization optimization patch (337)ctrlaltca@gmail.com
2011-06-20updated year information on all framework sources where possible (Copyright ↵ctrlaltca@gmail.com
© 2005-2008 PradoSoft => Copyright © 2005-2011 PradoSoft)
2011-06-20killed the experimental activecontrols implementation backported from yiictrlaltca@gmail.com
2011-06-20fixed 3 obvious bugsctrlaltca@gmail.com
2011-06-20removed useless calls to empty contructor; reverted some additional ↵ctrlaltca@gmail.com
undocumented changes; upported the "cgi workaround" to trunk/; large (fake) changeset are due to mixed cr/crlf used previously
2011-02-26CHG: Remove TReflectionClass and all references since equals ReflectionClassgodzilla80@gmx.net
2010-04-18TComponent- adds a blank __construct function to unify the constructor call ↵javalizard
path for all objects. TApplication- Adds final attribute to the parameters in the config so folder config.xml cannot override if set to true. Adds a mergeParameter function to unify parameter setting. Fixed a bug where loadParametersPhp wasn't getting the properties correctly. TControl- calls the parent::__construct, Adds render blocking. (the PRADO class using this will be added in a week or two) TParameterModule- Adds final attribute to the parameter option so folder configs cannot override if set to true. Uses the application mergeParameter function. Adds final to the php parameter loader
2010-04-09added ensureNullIfEmpty converterrojaro
2009-11-01TEnumerable can now be iterated as suggested by FragMaster Brojaro
2009-07-13- Models, Behaviors ...rojaro
2008-10-21removed all trailing ?>qiang.xue
2008-07-30updated copyrightknut
2007-12-20Fixed a bug in TPropertyValue::ensureArray()xue
2007-08-05fixed event error reporting.xue
2007-08-05#677 - Improved error reporting for the TInvalidDataValueExceptioncarl
2007-05-30fixing small typos in the API documentationknut
2007-04-02Fixed the bug that event handler specified via subproperty in template does ↵xue
not work
2007-03-02Improved error display.xue
2007-02-01updated exception reporting scheme when expression is invalid.xue
2007-01-01reverted back. By convention, all non-zero values are treated as boolean ↵xue
true, not just 1.
2006-12-31Added more boolean support in TPropertyValue::ensureBoolean, it now supports ↵jrags
the following: (string) 'true' == (bool) true,(string) '1' == (bool) true,(int) 1 == (bool) true,(bool) true == (bool) true, (string) 'false' == (bool) false,(string) '0' == (bool) false,(int) 0 == (bool) false,(bool) false == (bool) false
2006-10-06fixed #410 #412wei
2006-09-08merge from 3.0 branch till 1397.xue
2006-09-04merge from 3.0 branch till 1387xue
2006-08-30merge from 3.0 branch till 1363.xue
2006-06-04Merge from 3.0 branch till 1140.xue
2006-05-12Merge from 3.0 branch till 1054.xue
2006-05-04Merge from 3.0 branch till 1016.xue
2006-03-28Added TComponentReflection.xue
2006-03-16Updated some API doc.xue
2006-02-17Fixed a few more issues to the introduction of TApplicationComponent.xue
2006-02-17Removed a few constructors.xue
2006-02-17Add TApplicationComponent class and adjusted the relevant classes.xue
2006-02-17moved shortcut methods from TComponent to TControl.xue
2006-02-16Modified asset manipulation APIs.xue
2006-01-31Modified TList and TMap implementation so that they can be more easily extended.xue
2006-01-21BE AWARE: Significant change!xue
Changed event definition from XXX to OnXXX.
2006-01-21(no commit message)xue
2006-01-01Enhanced TPropertyValue::ensureEnum() method so that it can take variable ↵xue
length of parameters as valid enumeration values.
2005-12-28Modified the way to access application singleton.xue
IService and IModule interfaces are also adjusted accordingly.
2005-12-19Added detachEventHandler.xue
2005-12-17Changed TList::addAt to TList::insertxue
2005-12-06(no commit message)xue
2005-11-17(no commit message)xue
2005-11-17Fixed a problem with converting a string to an array.xue