[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 <?php 2 3 4 namespace Fig\Link; 5 6 trait TemplatedHrefTrait 7 { 8 /** 9 * Determines if an href is a templated link or not. 10 * 11 * @see https://tools.ietf.org/html/rfc6570 12 * 13 * @param string $href 14 * The href value to check. 15 * 16 * @return bool 17 * True if the specified href is a templated path, False otherwise. 18 */ 19 private function hrefIsTemplated($href) 20 { 21 return strpos($href, '{') !== false ||strpos($href, '}') !== false; 22 } 23 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |