Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 10828

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Returns an array of traits used by this class</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="reflectionclass.gettraitnames.html">ReflectionClass::getTraitNames</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="reflectionclass.hasconstant.html">ReflectionClass::hasConstant</a></div>
 <div class="up"><a href="class.reflectionclass.html">ReflectionClass</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="reflectionclass.gettraits" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ReflectionClass::getTraits</h1>
  <p class="verinfo">(PHP &gt;= 5.4.0)</p><p class="refpurpose"><span class="refname">ReflectionClass::getTraits</span> &mdash; <span class="dc-title">Returns an array of traits used by this class</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-reflectionclass.gettraits-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">array</span> <span class="methodname"><strong>ReflectionClass::getTraits</strong></span>
    ( <span class="methodparam">void</span>
   )</div>

  <p class="para rdfs-comment">

  </p>

  <div class="warning"><strong class="warning">Warning</strong><p class="simpara">This function is
currently not documented; only its argument list is available.
</p></div>

 </div>


 <div class="refsect1 parameters" id="refsect1-reflectionclass.gettraits-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">This function has no parameters.</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-reflectionclass.gettraits-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Returns an array with trait names in keys and instances of trait&#039;s
   <a href="class.reflectionclass.html" class="classname">ReflectionClass</a> in values.
   Returns <strong><code>NULL</code></strong> in case of an error.
  </p>
 </div>



</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="reflectionclass.gettraitnames.html">ReflectionClass::getTraitNames</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="reflectionclass.hasconstant.html">ReflectionClass::hasConstant</a></div>
 <div class="up"><a href="class.reflectionclass.html">ReflectionClass</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>