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

Source for file token_options.php

Documentation is available at token_options.php

  1. <?php
  2. /**
  3.  * File containing the ezcAuthenticationTokenOptions class.
  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.  * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
  23.  * @filesource
  24.  * @package Authentication
  25.  * @version //autogen//
  26.  */
  27.  
  28. /**
  29.  * Class containing the options for the token authentication filter.
  30.  *
  31.  * @package Authentication
  32.  * @version //autogen//
  33.  */
  34. {
  35.     /**
  36.      * Constructs an object with the specified values.
  37.      *
  38.      * @throws ezcBasePropertyNotFoundException
  39.      *          if $options contains a property not defined
  40.      * @throws ezcBaseValueException
  41.      *          if $options contains a property with a value not allowed
  42.      * @param array(string=>mixed) $options Options for this class
  43.      */
  44.     public function __constructarray $options array() )
  45.     {
  46.         parent::__construct$options );
  47.     }
  48.  
  49.     /**
  50.      * Sets the option $name to $value.
  51.      *
  52.      * @throws ezcBasePropertyNotFoundException
  53.      *          if the property $name is not defined
  54.      * @throws ezcBaseValueException
  55.      *          if $value is not correct for the property $name
  56.      * @param string $name The name of the property to set
  57.      * @param mixed $value The new value of the property
  58.      * @ignore
  59.      */
  60.     public function __set$name$value )
  61.     {
  62.         switch $name )
  63.         {
  64.             default:
  65.                 parent::__set$name$value );
  66.         }
  67.     }
  68. }
  69. ?>
Documentation generated by phpDocumentor 1.4.3