Permalink
Commits on Apr 17, 2014
  1. Merge pull request #5 from rpkamp/master

    Added DeferredNode, fixed PrototypeNode::is()
    committed Apr 17, 2014
Commits on Mar 20, 2014
  1. Call Node::root() is PrototypeNode::is() when a Node is supplied to m…

    …ake sure PrototypNode::_walk_value() will start at the root
    rpkamp committed Mar 20, 2014
  2. Added DeferredNode

    A DeferredNode is a node that only contains a callback function that is
    called as soon as _walk_value of the node is called. The callback function
    must return an instance of \Structr\Tree\Base\Node, which will then
    called. This can be used for example for definitions that you need for
    some calls but not for others that need to create an enum from a database
    for example and you don't want to hit the database for each and every request.
    rpkamp committed Mar 20, 2014
Commits on Apr 2, 2013
  1. Added build status to readme

    committed Apr 2, 2013
  2. Added .travis.yml

    committed Apr 2, 2013
Commits on Jan 31, 2013
Commits on May 30, 2012
Commits on May 28, 2012
  1. Made phpdoc consistent

    rpkamp committed May 28, 2012
  2. Added a test to test that providing null to a DateTimeNode will retur…

    …n null, not the current date
    rpkamp committed May 28, 2012
  3. Use dataProviders in CoercionTest

    rpkamp committed May 28, 2012
Commits on May 27, 2012
  1. Added comments to ChoiceNode

    rpkamp committed May 27, 2012
  2. Added comments to numbernode, and refactored it

    - Instead of _hasGt and _compareGt, etc, just use _gt which is false
      initially and set to a value when needed
    - Throw an exception when high >= low in clamp
    - Split out all tests in _walk_value to their own methods
      for readability
    rpkamp committed May 27, 2012
  3. Cleaning up of PrototypeNode

    - Added comments
    - Removed end() function, override of \Structr\Node\Base\Node but
      same implementation, not needed.
    - Objects passed to is() must be an instance of \Structr\Node\RootNode
    rpkamp committed May 27, 2012
  4. Re-structuring of the Node class

    - Added comments
    - Added functionality for multiple pre() and post() callables
    - Added method _walk to call _walk_pre, _walk_value and _walk_post
      in sequence. Repeated pattern, use this to clean up code.
    rpkamp committed May 27, 2012
  5. Removed \Structr\Tree\DefinitionNode

    For all intents and purposes the DefinitionNode was exactly the same as
    the RootNode with a null value. So instead of using the DefinitionNode
    we now use the RootNode with a null value, and removed the DefinitionNode
    as it no longer needed.
    rpkamp committed May 27, 2012
Commits on Mar 23, 2012
Commits on Mar 20, 2012
  1. Merge pull request #1 from rpkamp/master

    More JSON functionality
    arjan committed Mar 20, 2012
Commits on Mar 17, 2012
  1. Removed JSON max nesting level test; didn't work

    Remon vd Kamp committed Mar 17, 2012
  2. Merge branch 'master' of github.com:rpkamp/Structr

    Remon vd Kamp committed Mar 17, 2012