Skip to content

Is that a new behavior to Phalcon\Tag::prependTitle or it is a bug? #12233

Closed
@borisdelev

Description

@borisdelev

In Phalcon v2.x when i use tag:prependTitle the title is prepended

Phalcon\Tag::setTitle("PAGE");
Phalcon\Tag::prependTitle("test1");
Phalcon\Tag::prependTitle("test2");

// Title now is "test2 - test1 - PAGE" (depends of separator)

In Phalcon v3.x when i use tag:prependTitle the title replaced

Phalcon\Tag::setTitle("PAGE");
Phalcon\Tag::prependTitle("test1");
Phalcon\Tag::prependTitle("test2");

// Title now is "test2 - PAGE" (depends of separator)

So which behavior is right?

Sorry for my English.
Thanks!

Details

  • Phalcon version: 3.x
  • PHP Version: 7
  • Operating System: Windows 10
  • Server: Apache

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions