You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue
When i use multiple times tag->title()->prepend() results its not what i expect. Will make it clear with example
Example
$this->tag->title()->set('Start')->setSeparator(' - '); // Title will be just "Start"$this->tag->title()->prepend('Category'); // Title now will be "Category - Start"$this->tag->title()->prepend('Product'); // Title now will be "Category - Product - Start" ... and here is my issue
Expected behavior
If i use prepend more than once, still need prepend items:
$this->tag->title()->set('Start')->setSeparator(' - '); // Title will be just "Start"$this->tag->title()->prepend('Category'); // Title now will be "Category - Start"$this->tag->title()->prepend('Product'); // MUST BE "Product - Category - Start"
Details
Phalcon version: 5.1.4
PHP Version: 8.1.11
Operating System: Windows
Installation type: DLL
Server: Apache
Well... this is it. If you think my expectation is wrong behavior- okay, just need to know.
Thanks guys :) u great
The text was updated successfully, but these errors were encountered:
borisdelev
changed the title
[BUG]: Tag multiple times tag->title()->prepend() do not make title what i expect
[BUG]: Multiple times tag->title()->prepend() do not make title what i expect
Feb 20, 2023
Issue
When i use multiple times tag->title()->prepend() results its not what i expect. Will make it clear with example
Example
Expected behavior
If i use prepend more than once, still need prepend items:
Details
Well... this is it. If you think my expectation is wrong behavior- okay, just need to know.
Thanks guys :) u great
The text was updated successfully, but these errors were encountered: