<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.uopz.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'function.uopz-get-property.php',
    1 => 'uopz_get_property',
    2 => 'Gets value of class or instance property',
  ),
  'up' => 
  array (
    0 => 'ref.uopz.php',
    1 => 'Uopz İşlevleri',
  ),
  'prev' => 
  array (
    0 => 'function.uopz-get-mock.php',
    1 => 'uopz_get_mock',
  ),
  'next' => 
  array (
    0 => 'function.uopz-get-return.php',
    1 => 'uopz_get_return',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/uopz/functions/uopz-get-property.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.uopz-get-property" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">uopz_get_property</h1>
  <p class="verinfo">(PECL uopz 5, PECL uopz 6, PECL uopz 7)</p><p class="refpurpose"><span class="refname">uopz_get_property</span> &mdash; <span class="dc-title">Gets value of class or instance property</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.uopz-get-property-description">
  <h3 class="title">Açıklama</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>uopz_get_property</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$class</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$property</code></span>): <span class="type"><a href="language.types.mixed.php" class="type mixed">mixed</a></span></div>

  <div class="methodsynopsis dc-description"><span class="methodname"><strong>uopz_get_property</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.object.php" class="type object">object</a></span> <code class="parameter">$instance</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$property</code></span>): <span class="type"><a href="language.types.mixed.php" class="type mixed">mixed</a></span></div>

  <p class="para rdfs-comment">
   Gets the value of a static class property, if <code class="parameter">class</code>
   is given, or the value of an instance property, if <code class="parameter">instance</code>
   is given.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.uopz-get-property-parameters">
  <h3 class="title">Bağımsız Değişkenler</h3>
  <dl>
   
    <dt><code class="parameter">class</code></dt>
    <dd>
     <p class="para">
      The name of the class.
     </p>
    </dd>
   
   
    <dt><code class="parameter">instance</code></dt>
    <dd>
     <p class="para">
      The object instance.
     </p>
    </dd>
   
   
    <dt><code class="parameter">property</code></dt>
    <dd>
     <p class="para">
      The name of the property.
     </p>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.uopz-get-property-returnvalues">
  <h3 class="title">Dönen Değerler</h3>
  <p class="para">
   Returns the value of the class or instance property, or <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong> if the property
   is not defined.
  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-function.uopz-get-property-examples">
  <h3 class="title">Örnekler</h3>
  <div class="example" id="uopz-get-property.example.basic">
   <p><strong>Örnek 1 Basic <span class="function"><strong>uopz_get_property()</strong></span> Usage</strong></p>
   <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br /></span><span style="color: #007700">class </span><span style="color: #0000BB">Foo </span><span style="color: #007700">{<br />    private static </span><span style="color: #0000BB">$staticBar </span><span style="color: #007700">= </span><span style="color: #0000BB">10</span><span style="color: #007700">;<br />    private </span><span style="color: #0000BB">$bar </span><span style="color: #007700">= </span><span style="color: #0000BB">100</span><span style="color: #007700">;<br />}<br /></span><span style="color: #0000BB">$foo </span><span style="color: #007700">= new </span><span style="color: #0000BB">Foo</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">uopz_get_property</span><span style="color: #007700">(</span><span style="color: #DD0000">'Foo'</span><span style="color: #007700">, </span><span style="color: #DD0000">'staticBar'</span><span style="color: #007700">));<br /></span><span style="color: #0000BB">var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">uopz_get_property</span><span style="color: #007700">(</span><span style="color: #0000BB">$foo</span><span style="color: #007700">, </span><span style="color: #DD0000">'bar'</span><span style="color: #007700">));<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
   </div>

   <div class="example-contents"><p>
Yukarıdaki örnek şuna benzer bir çıktı üretir:</p></div>
   <div class="example-contents screen">
<div class="examplescode"><pre class="examplescode">int(10)
int(100)</pre>
</div>
   </div>
  </div>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.uopz-get-property-seealso">
  <h3 class="title">Ayrıca Bakınız</h3>
  <ul class="simplelist">
   <li><span class="function"><a href="function.uopz-set-property.php" class="function" rel="rdfs-seeAlso">uopz_set_property()</a> - Sets value of existing class or instance property</span></li>
  </ul>
 </div>


</div><?php manual_footer($setup); ?>