Apache Zeta Components Manual :: File Source for accelerator.php

Source for file accelerator.php

Documentation is available at accelerator.php

  1. <?php
  2. /**
  3.  * File containing the ezcSystemInfoAccelerator structure.
  4.  *
  5.  * Licensed to the Apache Software Foundation (ASF) under one
  6.  * or more contributor license agreements.  See the NOTICE file
  7.  * distributed with this work for additional information
  8.  * regarding copyright ownership.  The ASF licenses this file
  9.  * to you under the Apache License, Version 2.0 (the
  10.  * "License"); you may not use this file except in compliance
  11.  * with the License.  You may obtain a copy of the License at
  12.  * 
  13.  *   http://www.apache.org/licenses/LICENSE-2.0
  14.  * 
  15.  * Unless required by applicable law or agreed to in writing,
  16.  * software distributed under the License is distributed on an
  17.  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  18.  * KIND, either express or implied.  See the License for the
  19.  * specific language governing permissions and limitations
  20.  * under the License.
  21.  *
  22.  * @package SystemInformation
  23.  * @version //autogentag//
  24.  * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
  25.  * @filesource
  26.  */
  27.  
  28. /**
  29.  * A container to store information about a PHP accelerator.
  30.  *
  31.  * This structure used to represent information about a PHP accelerator parameters
  32.  * {@link self::name name}
  33.  * {@link self::url url}
  34.  * {@link self::isEnabled isEnabled}
  35.  * {@link self::versionInt versionInt}
  36.  * {@link self::versionString versionString}
  37.  *
  38.  * @see ezcSystemInfo
  39.  *
  40.  * @package SystemInformation
  41.  * @version //autogentag//
  42.  */
  43. {
  44.     /**
  45.      * Name of PHP accelerator.
  46.      *
  47.      * @var string 
  48.      */
  49.     public $name;
  50.  
  51.     /**
  52.      * URL of the site of PHP accelerator developer.
  53.      *
  54.      * @var string 
  55.      */
  56.     public $url;
  57.  
  58.     /**
  59.      * Flag that informs if PHP accelerator enabled or not.
  60.      *
  61.      * @var bool 
  62.      */
  63.     public $isEnabled;
  64.  
  65.     /**
  66.      * PHP accelerator version number.
  67.      *
  68.      * @var int 
  69.      */
  70.     public $versionInt;
  71.  
  72.     /**
  73.      * PHP accelerator version number as a string.
  74.      *
  75.      * @var string 
  76.      */
  77.     public $versionString;
  78.  
  79.     /**
  80.      * Initialize all structure fields with values.
  81.      *
  82.      * @param string $name 
  83.      * @param string $url 
  84.      * @param bool   $isEnabled 
  85.      * @param int    $versionInt 
  86.      * @param string $versionString 
  87.      */
  88.     public function __construct$name$url$isEnabled$versionInt$versionString )
  89.     {
  90.         $this->name = $name;
  91.         $this->url  = $url;
  92.         $this->isEnabled     = $isEnabled;
  93.         $this->versionInt    = $versionInt;
  94.         $this->versionString = $versionString;
  95.     }
  96. }
  97. ?>
Documentation generated by phpDocumentor 1.4.3