Copyright 2005-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Author: Michael Slusarz (slusarz@horde.org)
コード例 #1
0
ファイル: VcardImport.php プロジェクト: raz0rsdge/horde
 /**
  * @param array $params  Configuration parameters:
  *   - mime_id: (string) The MIME ID of the message part with the key.
  *   - muid: (string) MUID of the message.
  */
 public function __construct(array $params = array())
 {
     // The mime id of the form created by Horde_Core_Mime_Viewer_Vcard
     // Don't like hard coding this, but since it's in Horde_Core we don't
     // have access to change it/read it.
     $params['id'] = 'vcard_import';
     parent::__construct($params);
 }
コード例 #2
0
ファイル: SpellChecker.php プロジェクト: jubinpatel/horde
 /**
  * @param array $params  OPTIONAL configuration parameters:
  *   - locales: (array) List of supported locales.
  *   - states: (array) TODO
  *   - targetId: (string) TODO
  */
 public function __construct(array $params = array())
 {
     global $registry;
     if (!isset($params['targetId'])) {
         $params['targetId'] = strval(new Horde_Support_Randomid());
     }
     if (!isset($params['locales'])) {
         $key_list = array_keys($registry->nlsconfig->spelling);
         asort($key_list, SORT_LOCALE_STRING);
         $params['locales'] = array();
         foreach ($key_list as $lcode) {
             $params['locales'][] = array('l' => $registry->nlsconfig->languages[$lcode], 'v' => $lcode);
         }
     }
     parent::__construct($params);
 }
コード例 #3
0
ファイル: ItipRequest.php プロジェクト: DSNS-LAB/Dmail
 /**
  * @param array $params  Configuration parameters:
  *   - mime_id: (string) The MIME ID of the message part with the key.
  *   - muid: (string) MUID of the message.
  */
 public function __construct(array $params = array())
 {
     parent::__construct($params);
 }
コード例 #4
0
ファイル: InPlaceEditor.php プロジェクト: raz0rsdge/horde
 /**
  * @param array $params  Configuration parameters:
  *   - cols: (integer) Number of columns.
  *   - dataid: (string) Data ID passed to the handler.
  *   - rows: (integer) Number of rows.
  */
 public function __construct(array $params = array())
 {
     /* Set up some defaults */
     $params = array_merge(array('cols' => 20, 'dataid' => '', 'rows' => 2), $params);
     parent::__construct($params);
 }