{"action":"created","issue":{"url":"https://api.github.com/repos/phalcon/cphalcon/issues/12238","repository_url":"https://api.github.com/repos/phalcon/cphalcon","labels_url":"https://api.github.com/repos/phalcon/cphalcon/issues/12238/labels{/name}","comments_url":"https://api.github.com/repos/phalcon/cphalcon/issues/12238/comments","events_url":"https://api.github.com/repos/phalcon/cphalcon/issues/12238/events","html_url":"https://github.com/phalcon/cphalcon/issues/12238","id":177985781,"number":12238,"title":"NFR: add a way to clear prependTitle or appendTitle","user":{"login":"borisdelev","id":4441663,"avatar_url":"https://avatars.githubusercontent.com/u/4441663?v=3","gravatar_id":"","url":"https://api.github.com/users/borisdelev","html_url":"https://github.com/borisdelev","followers_url":"https://api.github.com/users/borisdelev/followers","following_url":"https://api.github.com/users/borisdelev/following{/other_user}","gists_url":"https://api.github.com/users/borisdelev/gists{/gist_id}","starred_url":"https://api.github.com/users/borisdelev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borisdelev/subscriptions","organizations_url":"https://api.github.com/users/borisdelev/orgs","repos_url":"https://api.github.com/users/borisdelev/repos","events_url":"https://api.github.com/users/borisdelev/events{/privacy}","received_events_url":"https://api.github.com/users/borisdelev/received_events","type":"User","site_admin":false},"labels":[{"id":13573146,"url":"https://api.github.com/repos/phalcon/cphalcon/labels/New%20Feature%20Request","name":"New Feature Request","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/phalcon/cphalcon/milestones/20","html_url":"https://github.com/phalcon/cphalcon/milestone/20","labels_url":"https://api.github.com/repos/phalcon/cphalcon/milestones/20/labels","id":1912190,"number":20,"title":"3.1.0","description":"","creator":{"login":"sergeyklay","id":1256298,"avatar_url":"https://avatars.githubusercontent.com/u/1256298?v=3","gravatar_id":"","url":"https://api.github.com/users/sergeyklay","html_url":"https://github.com/sergeyklay","followers_url":"https://api.github.com/users/sergeyklay/followers","following_url":"https://api.github.com/users/sergeyklay/following{/other_user}","gists_url":"https://api.github.com/users/sergeyklay/gists{/gist_id}","starred_url":"https://api.github.com/users/sergeyklay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergeyklay/subscriptions","organizations_url":"https://api.github.com/users/sergeyklay/orgs","repos_url":"https://api.github.com/users/sergeyklay/repos","events_url":"https://api.github.com/users/sergeyklay/events{/privacy}","received_events_url":"https://api.github.com/users/sergeyklay/received_events","type":"User","site_admin":false},"open_issues":30,"closed_issues":6,"state":"open","created_at":"2016-07-29T16:35:55Z","updated_at":"2016-12-03T12:14:35Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2016-09-20T07:30:11Z","updated_at":"2016-12-09T14:33:52Z","closed_at":null,"body":"Hi there... i have idea about prependTitle and appendTitle- to manage and clear them. Maybe will be useful. What is you opinion?\n### Now\n\n> If we want to clear append or prepend title, must clear all values\n\n``` php\n\\Phalcon\\Tag::setTitleSeparator(' - ');\n\\Phalcon\\Tag::setTitle('Title');\n\n// Somewhere in controller\n\\Phalcon\\Tag::prependTitle('Category');\n\\Phalcon\\Tag::prependTitle('Article');\n\n// In some situation, just want to clear all prepended element\n\\Phalcon\\tag::resetInput();\n\\Phalcon\\Tag::setTitleSeparator(' - ');\n\\Phalcon\\Tag::setTitle('Title');\n\\Phalcon\\Tag::prependTitle('Just article');\n```\n### Idea\n\n> A way to clear elements and to add multiple elements at once (why not).\n\n``` php\n\\Phalcon\\Tag::setTitleSeparator(' - ');\n\\Phalcon\\Tag::setTitle('Title');\n\n// Somewhere in controller\n\\Phalcon\\Tag::prependTitle('Category');\n\\Phalcon\\Tag::prependTitle('Article');\n\n// Same situation - clear and put just one prepend element (will be faster than clear all values)\n\\Phalcon\\Tag::prependTitle(['Just article']);\n\n// Or other - clear and put a few elements\n\\Phalcon\\Tag::prependTitle(['Other category', 'Other article']);\n```\n### Details\n- Phalcon version: 3.0.0 x64\n- PHP Version: 7.0.11 x64\n- Operating System: Windows 10\n- Server: Apache x64\n- Other related info (Database, table schema): MariaDB x64\n\nHope you understand me. Thanks\n"},"comment":{"url":"https://api.github.com/repos/phalcon/cphalcon/issues/comments/266027332","html_url":"https://github.com/phalcon/cphalcon/issues/12238#issuecomment-266027332","issue_url":"https://api.github.com/repos/phalcon/cphalcon/issues/12238","id":266027332,"user":{"login":"borisdelev","id":4441663,"avatar_url":"https://avatars.githubusercontent.com/u/4441663?v=3","gravatar_id":"","url":"https://api.github.com/users/borisdelev","html_url":"https://github.com/borisdelev","followers_url":"https://api.github.com/users/borisdelev/followers","following_url":"https://api.github.com/users/borisdelev/following{/other_user}","gists_url":"https://api.github.com/users/borisdelev/gists{/gist_id}","starred_url":"https://api.github.com/users/borisdelev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borisdelev/subscriptions","organizations_url":"https://api.github.com/users/borisdelev/orgs","repos_url":"https://api.github.com/users/borisdelev/repos","events_url":"https://api.github.com/users/borisdelev/events{/privacy}","received_events_url":"https://api.github.com/users/borisdelev/received_events","type":"User","site_admin":false},"created_at":"2016-12-09T14:33:52Z","updated_at":"2016-12-09T14:33:52Z","body":"Hi there... \r\nI try to make this feature, but for some reason travis-ci builds return error about \"SessionTest\"... i didnt modified anything connected with session.\r\n\r\nThank you!"}}
{"actor":{"display_login":"borisdelev"}}