Sophie

Sophie

distrib > Mageia > 7 > aarch64 > by-pkgid > 2b917e0437961edec048f1d15e2d7449 > files > 7709

php-manual-en-7.2.11-1.mga7.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>Set how the document should be displayed</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="harudoc.setpagelayout.html">HaruDoc::setPageLayout</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="harudoc.setpagesconfiguration.html">HaruDoc::setPagesConfiguration</a></div>
 <div class="up"><a href="class.harudoc.html">HaruDoc</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="harudoc.setpagemode" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">HaruDoc::setPageMode</h1>
  <p class="verinfo">(PECL haru &gt;= 0.0.1)</p><p class="refpurpose"><span class="refname">HaruDoc::setPageMode</span> &mdash; <span class="dc-title">Set how the document should be displayed</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-harudoc.setpagemode-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">bool</span> <span class="methodname"><strong>HaruDoc::setPageMode</strong></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$mode</code></span>
   )</div>

  <p class="para rdfs-comment">
   Defines how the document should be displayed.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-harudoc.setpagemode-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">
   <dl>

    
     <dt>
<code class="parameter">mode</code></dt>

     <dd>

      <p class="para">
       The following values are accepted:
       <ul class="simplelist">
        <li class="member">
         <strong><code>HaruDoc::PAGE_MODE_USE_NONE</code></strong> - display the
         document with neither outline nor thumbnail.
        </li>
        <li class="member">
         <strong><code>HaruDoc::PAGE_MODE_USE_OUTLINE</code></strong> - display the
         document with outline pane.
        </li>
        <li class="member">
         <strong><code>HaruDoc::PAGE_MODE_USE_THUMBS</code></strong> - display the
         document with thumbnail pane.
        </li>
        <li class="member">
         <strong><code>HaruDoc::PAGE_MODE_FULL_SCREEN</code></strong> - display the
         document with full screen mode. 
        </li>
       </ul>
      </p>
     </dd>

    
   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-harudoc.setpagemode-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Returns <strong><code>TRUE</code></strong> on success.
  </p>
 </div>


 <div class="refsect1 errors" id="refsect1-harudoc.setpagemode-errors">
  <h3 class="title">Errors/Exceptions</h3>
  <p class="para">Throws a <a href="class.haruexception.html" class="classname">HaruException</a> on error.</p>
 </div>


 <div class="refsect1 seealso" id="refsect1-harudoc.setpagemode-seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="methodname"><a href="harudoc.getpagemode.html" class="methodname" rel="rdfs-seeAlso">HaruDoc::getPageMode()</a> - Get current page mode</span></li>
   </ul>
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="harudoc.setpagelayout.html">HaruDoc::setPageLayout</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="harudoc.setpagesconfiguration.html">HaruDoc::setPagesConfiguration</a></div>
 <div class="up"><a href="class.harudoc.html">HaruDoc</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>