Menu

PhpCMSng Commit Log


Commit Date  
[r39] by obw

hpCMSng\Content\MenuDataParser\AllActiveMenuEntriesIterator
* BUGFIX: ADD rewind(), because we must find the first active entry

PhpCMSng\Content\MenuDataParser\MenuLevel
* BUGFIX: IN getActMenuLevel(), recursion with a parameter too much

PhpCMSng\Renderer\MenuTemplateRenderer
* BUGFIX: IN _getActLevelData

PhpCMSng\Rendere\MenuTemplateRendererTest
* new test

2017-06-16 23:35:11 Tree
[r38] by obw

New Test some BUGFIXES

FIXTURES: withtfields.mtpl, withtfields_and_plugins.mtpl, subtemplate.MAIN.mtpl, subtemplate.SUB1.mtpl
* new handling of empty lines, so must remove unwanted empty lines!

PhpCMSng\Content\MenuDataParser
* NEWMETHOD: getMenuLevelByMenuClass()
* NEWMETHOD: haveMenuLevelByMenuClass()

PhpCMSng\Content\MenuDataParser\MenuLevel
* NEWMETHOD: getMenuLevelByMenuClass()
* NEWMETHOD: haveMenuLevelByMenuClass()

PhpCMSng\Renderer\MenuTemplateRenderer
* REWRITE: _replaceMenuWithEntry(), works now a little different, its generate a new MenuTemplateRenderer Object and set the specific MenuLevel!, needed for Recursive Display of all MenuLevel not only active ones!

2017-06-12 21:38:04 Tree
[r37] by obw

A new Test

PhpCMSng\Renderer\MenuTemplateRendererTest
* testOneLevelRendering() ismore strict now!
* NEW: testTwoLeverRendering(), test the rendering of second level of a active MenuEntry

PhpCMSng\Template\MenuTemplateParser
* enhancement of the new line handling

PhpCMSng\Renderer\MenuTemplateRenderer
* Enhancment and some BUGFIXING

2017-06-07 13:11:37 Tree
[r36] by obw

Some refactoring, some Bugfixing and some new Tests

PhpCMSng\Content\MenuDataParser
* add a use Statement

PhpCMSng\Content\MenuDataParser\MenuEntry
* NEWMETHOD: resetActive()
* REFACTOR: isActive() (get the active MenuClass string from the MenuLevel not the ContentParser)

PhpCMSng\Content\MenuDataParser\MenuLevel
* NEWMETHOD: setActiveMenuClass()
* NEWMETHOD: resetActive()
* NEWMETHOD: getActiveMenuClass() (first, internal Var, the parent Level, if ROOT then fallback too ContentParser)
* REFACTOR: isActive() use getActiveMenuCalss()

PhpCMSng\Renderer\MenuTemplateRenderer
* MOVED: from Namespace Content ro Namespace Render
* BUGFIX: _renderEntries() Between was rendered too the wrong time and also not added too the return string

PhpCMSng\Renderer\MenuTemplateRendererTest
* First Test implementations

2017-06-02 13:35:05 Tree
[r35] by obw

Big refactor:

All Template related Classes are moved to the Template Namespce.

FieldParser and FieldData are moved too the Tools Namespace.

2017-05-29 20:22:56 Tree
[r34] by obw

Lot of changes and new tests. I had some Hardware issues so the I can't checkin for a longer period:(

PhpCMSng\Content\MenuDataParser\AllMenuEntriesIterator
PhpCMSng\Content\MenuDataParser\AllActiveMenuEntriesIterator
* Linear iterators over the Menu Data
* AllMenuEntriesIterator iterates over all elements
* AllActiveMenuEntriesIterator iterates over all active Elements

PhpCMSng\Core}DefaultHandler
* NEW: DEFAULT_GLOBAL_MENUDATA

PhpCMSng\Content\MenuDataParser
* Better Errorhandling if we have an complete Empty menu file

PhpCMSng\Content\MenuDataParserTest
* complete Testing
* includes lots of fixtures

PhpCMSng\Content\MenuDataParser\MenuEntry
* NEW-METHOD: exists

PhpCMSng\Content\MenuDataParser\MenuLevel
* NEW-METHOD: existsField
* BUGFIX: addSubLevel
* NEW-METHOD: getParenLevel
* NEW-METHOD: getEntries
* NEW-METHOD: getSubLevels

PhpCMSng\Plugin\Interfaces\MenuPluginInterface
* DOC corrected

PhpCMSng\Content\MenuTemplateParser\MenuTemplate
* Plugin handling rewritten
* NEW-METHOD: getPluginRawTags
* RENAMED: haveMenus -> haveMenuFields

PhpCMSng\Content\MenuTemplateParser
* some code cleanup
* _addPlugin rewritten, plugins are now stored in the PluginHandler!

PhpCMSng\Content\MenuTemplateParserTest
* complete Testing
* includes lots of fixtures

PhpCMSng\Content\MenuTemplateRenderer
* RENAMED: haveMenus -> haveMenuFields in PhpCMSng\Content\MenuTemplateParser\MenuTemplate

PhpCMSng\Core\Parser
* _loadAndParseMenuTemplate the MenuTemplateParser handle the path parsing by self

PhpCMSng\Plugin\PluginHandler
* add MenuPlugin handling

PhpCMSng\Content\ProjectParser
* NEW-METHOD: exists

2017-05-29 12:40:11 Tree
[r33] by obw

Some optimizement in Var handling

2017-05-17 20:35:01 Tree
[r32] by obw

Add some fallback for Template and Menudata

2017-05-17 20:34:07 Tree
[r31] by obw

PhpCMSng\Content\TemplateParser
* _parseLineForFields() lots of debugging Field with pre- and post Parts in the Line a running now
* _addPlugin() running

PhpCMSng\Content\TemplateParserTest
* more tests
* lots of fixtures

PhpCMSng\Plugin\PluginHandler
* NEW: addTemplatePluginByFieldData()
* IMPLEMENTED: _preparePluginByField()

2017-05-17 19:18:49 Tree
[r30] by obw

\PhpCMSng\Content\AbstractTemplateParser
* some rewrite for the file loading

\PhpCMSng\Tools\Arrays
* Array Helper Class

PhpCMSng\Content\ContentParser
* Some optimizements in the hanling of the lineend
* empty lines will not delteted anmore

PhpCMSng\Content\FieldParser\FieldData
* new method done() manly for the new handling of the lineendings

PhpCMSng\Content\FieldParser
* BUGFIX in the handling of setPastLine() and setPreLine()

PhpCMSng\Content\TemplateParser
* empty lines will not delteted anmore
* Some optimizements in the hanling of the lineend
* NEW Methods: getAllFieldNames(), getField(), haveField()

PhpCMSng\Content\TemplateParser
* first test implemented
* includes same fixtures

2017-05-15 07:38:11 Tree
Older >
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.