当前位置: 首页>>代码示例>>PHP>>正文


PHP Solar_File::tmp方法代码示例

本文整理汇总了PHP中Solar_File::tmp方法的典型用法代码示例。如果您正苦于以下问题:PHP Solar_File::tmp方法的具体用法?PHP Solar_File::tmp怎么用?PHP Solar_File::tmp使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Solar_File的用法示例。


在下文中一共展示了Solar_File::tmp方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: setup

 public function setup()
 {
     // easier to do this here than as a property, since we use functions.
     $this->_config = array('adapters' => array(array('adapter' => 'Solar_Log_Adapter_File', 'events' => 'debug', 'file' => Solar_File::tmp('test_solar_log_adapter_multi.debug.log'), 'format' => '%e %m'), array('adapter' => 'Solar_Log_Adapter_File', 'events' => 'info, notice', 'file' => Solar_File::tmp('test_solar_log_adapter_multi.other.log'), 'format' => '%e %m')));
     parent::setup();
     @unlink($this->_config['adapters'][0]['file']);
     @unlink($this->_config['adapters'][1]['file']);
 }
开发者ID:btweedy,项目名称:foresmo,代码行数:8,代码来源:MultiTest.php

示例2: _preConfig

 protected function _preConfig()
 {
     $file = Solar_File::tmp('test_solar_log_adapter_file.log');
     $this->_Test_Solar_Log_Adapter_File['file'] = $file;
 }
开发者ID:agentile,项目名称:foresmo,代码行数:5,代码来源:File.php

示例3: setup

 public function setup()
 {
     $this->_config['file'] = Solar_File::tmp('test_solar_log_adapter_file.log');
     parent::setup();
     @unlink($this->_config['file']);
 }
开发者ID:btweedy,项目名称:foresmo,代码行数:6,代码来源:FileTest.php

示例4: _preConfig

 protected function _preConfig()
 {
     // easier to do this here than as a property, since we use functions.
     $this->_Test_Solar_Log_Adapter_Multi = array('adapters' => array(array('adapter' => 'Solar_Log_Adapter_File', 'events' => 'debug', 'file' => Solar_File::tmp('test_solar_log_adapter_multi.debug.log'), 'format' => '%e %m'), array('adapter' => 'Solar_Log_Adapter_File', 'events' => 'info, notice', 'file' => Solar_File::tmp('test_solar_log_adapter_multi.other.log'), 'format' => '%e %m')));
 }
开发者ID:agentile,项目名称:foresmo,代码行数:5,代码来源:Multi.php


注:本文中的Solar_File::tmp方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。