Skip to content

Replace <a> tag with HTML::anchor() and replace<?= with <?php echo in view-file #2

@chvanikoff

Description

@chvanikoff

HTML::anchor() will allow use URI instead of relative path (if I will pass 'user/welcome' as $url while my actual url is site.com/some/controller/some/action - the link will be site.com/some/controller/some/action/user/welcome instead of site.com/user/welcome).
Second one is good practice not to use <?= cause not all users allow short tags in php.ini (me for example).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions