web/lib/Zend/Translate/Adapter.php
changeset 1230 68c69c656a2c
parent 807 877f952ae2bd
equal deleted inserted replaced
1229:5a6b6e770365 1230:68c69c656a2c
    13  * to license@zend.com so we can send you a copy immediately.
    13  * to license@zend.com so we can send you a copy immediately.
    14  *
    14  *
    15  * @category   Zend
    15  * @category   Zend
    16  * @package    Zend_Translate
    16  * @package    Zend_Translate
    17  * @subpackage Zend_Translate_Adapter
    17  * @subpackage Zend_Translate_Adapter
    18  * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
    18  * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
    19  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    19  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    20  * @version    $Id: Adapter.php 24593 2012-01-05 20:35:02Z matthew $
    20  * @version    $Id$
    21  */
    21  */
    22 
    22 
    23 /**
    23 /**
    24  * @see Zend_Locale
    24  * @see Zend_Locale
    25  */
    25  */
    34  * Basic adapter class for each translation source adapter
    34  * Basic adapter class for each translation source adapter
    35  *
    35  *
    36  * @category   Zend
    36  * @category   Zend
    37  * @package    Zend_Translate
    37  * @package    Zend_Translate
    38  * @subpackage Zend_Translate_Adapter
    38  * @subpackage Zend_Translate_Adapter
    39  * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
    39  * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
    40  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    40  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    41  */
    41  */
    42 abstract class Zend_Translate_Adapter {
    42 abstract class Zend_Translate_Adapter {
    43     /**
    43     /**
    44      * Shows if locale detection is in automatic level
    44      * Shows if locale detection is in automatic level
   117     protected $_translate = array();
   117     protected $_translate = array();
   118 
   118 
   119     /**
   119     /**
   120      * Generates the adapter
   120      * Generates the adapter
   121      *
   121      *
   122      * @param  array|Zend_Config $options Translation options for this adapter
   122      * @param  string|array|Zend_Config $options Translation options for this adapter
       
   123      * @param  string|array [$content]
       
   124      * @param  string|Zend_Locale [$locale]
   123      * @throws Zend_Translate_Exception
   125      * @throws Zend_Translate_Exception
   124      * @return void
   126      * @return void
   125      */
   127      */
   126     public function __construct($options = array())
   128     public function __construct($options = array())
   127     {
   129     {