GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 134.29.175.74 / Your IP : 216.73.216.160 Web Server : nginx/1.10.2 System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586 User : Administrator ( 0) PHP Version : 7.1.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/nginx/html/Student/JimMartinson/Lab12/drupal/core/lib/Drupal/Core/Template/ |
Upload File : |
<?php namespace Drupal\Core\Template; use Drupal\Component\Utility\Html; /** * A class that represents most standard HTML attributes. * * To use with the Attribute class, set the key to be the attribute name * and the value the attribute value. * @code * $attributes = new Attribute(array()); * $attributes['id'] = 'socks'; * $attributes['style'] = 'background-color:white'; * echo '<cat ' . $attributes . '>'; * // Produces: <cat id="socks" style="background-color:white">. * @endcode * * @see \Drupal\Core\Template\Attribute */ class AttributeString extends AttributeValueBase { /** * Implements the magic __toString() method. */ public function __toString() { return Html::escape($this->value); } }