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


PHP ClassRegistry::flush方法代码示例

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


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

示例1: tearDown

 /**
  * Tear Down
  * 
  * @author	Everton Yoshitani <everton@wizehive.com>
  * @since	1.0
  * @return	void 
  */
 public function tearDown()
 {
     parent::tearDown();
     unset($this->DataTypeJuggling);
     unset($this->TestModel);
     ClassRegistry::flush();
 }
开发者ID:manzapanza,项目名称:cakephp-api-utils,代码行数:14,代码来源:DataTypeJugglingBehaviorTest.php

示例2: tearDown

 /**
  * tearDown
  *
  * @return void
  */
 public function tearDown()
 {
     parent::tearDown();
     CakeSession::clear();
     CakeSession::destroy();
     ClassRegistry::flush();
 }
开发者ID:dlpc,项目名称:CakeWX,代码行数:12,代码来源:CroogoControllerTestCase.php

示例3: _reset

 function _reset()
 {
     unset($this->Controller);
     unset($this->Component);
     unset($this->Model);
     ClassRegistry::flush();
 }
开发者ID:hiromi2424,项目名称:CakePHP-Kcaptcha-Plugin,代码行数:7,代码来源:captcha.test.php

示例4: endTest

 /**
  * endTest method
  *
  * @access public
  * @return void
  */
 function endTest()
 {
     unset($this->PosPostsTagFixturet);
     unset($this->PostFixture);
     unset($this->Post);
     ClassRegistry::flush();
 }
开发者ID:nojimage,项目名称:paging,代码行数:13,代码来源:virtural_field_collection.test.php

示例5: endTest

 public function endTest()
 {
     $this->Session->destroy();
     unset($this->Leaders);
     unset($this->Session);
     ClassRegistry::flush();
 }
开发者ID:styfle,项目名称:core,代码行数:7,代码来源:involvement_leaders_controller.test.php

示例6: tearDown

 /**
  * tearDown
  *
  * @return void
  */
 public function tearDown()
 {
     unset($this->Toolbar, $this->Controller);
     ClassRegistry::flush();
     Router::reload();
     TestFireCake::reset();
 }
开发者ID:vsanth,项目名称:cakeforum,代码行数:12,代码来源:FirePhpToolbarHelperTest.php

示例7: tearDown

 function tearDown()
 {
     $this->Data->flushFiles();
     $this->Folder->delete();
     ClassRegistry::flush();
     Configure::write('Media', $this->_mediaConfig);
 }
开发者ID:rcaravita,项目名称:jodeljodel,代码行数:7,代码来源:base.test.php

示例8: tearDown

 public function tearDown()
 {
     parent::tearDown();
     $this->Data->cleanUp();
     ClassRegistry::flush();
     Configure::write('Media', $this->oldConfig);
 }
开发者ID:miznokruge,项目名称:base-cake,代码行数:7,代码来源:BehaviorTestBase.php

示例9: endTest

 public function endTest($method)
 {
     parent::endTest($method);
     unset($this->AdminCrud);
     unset($this->User);
     ClassRegistry::flush();
 }
开发者ID:rodrigorm,项目名称:panel,代码行数:7,代码来源:AdminCrudBehaviorTest.php

示例10: tearDown

 /**
  * Method executed after each test
  *
  * @return void
  */
 public function tearDown()
 {
     parent::tearDown();
     unset($this->Article);
     ClassRegistry::flush();
     CakeSession::delete('Auth');
 }
开发者ID:superstarrajini,项目名称:cakepackages,代码行数:12,代码来源:CakePackagesTaggableBehaviorTest.php

示例11: testConstruct_with_ds

 public function testConstruct_with_ds()
 {
     ClassRegistry::flush();
     $this->Twim = ClassRegistry::init(array('class' => 'TestTwimAppModel', 'ds' => 'test_twitter2', 'testing' => false));
     $this->assertInstanceOf('TestTwimAppModelTwimSource', $this->Twim->getDataSource());
     $this->assertSame('testConsumerKey', $this->Twim->getDataSource()->config['oauth_consumer_key']);
 }
开发者ID:nojimage,项目名称:cakephp-twim,代码行数:7,代码来源:TwimAppModelTest.php

示例12: tearDown

 /**
  * tearDown method
  *
  * @return void
  */
 public function tearDown()
 {
     Configure::delete('TestMailerConfig');
     unset($this->Mailer);
     ClassRegistry::flush();
     parent::tearDown();
 }
开发者ID:hiromi2424,项目名称:mailer,代码行数:12,代码来源:mailer.test.php

示例13: endTest

 public function endTest($method = null)
 {
     $this->Model = null;
     $this->Behavior = null;
     ClassRegistry::flush();
     parent::endTest($method);
 }
开发者ID:hiromi2424,项目名称:ninja,代码行数:7,代码来源:ninja_behavior_test_case.php

示例14: beforeFilter

 /**
  * beforeFilter
  *
  * @return void
  */
 public function beforeFilter()
 {
     parent::beforeFilter();
     $this->Auth->deny('index');
     $this->initTabs('frame_settings');
     ClassRegistry::flush();
 }
开发者ID:s-nakajima,项目名称:SearchBoxes,代码行数:12,代码来源:SearchBoxesController.php

示例15: tearDown

 /**
  * tearDown method
  *
  * @return void
  */
 public function tearDown()
 {
     unset($this->Task);
     ClassRegistry::flush();
     App::build();
     parent::tearDown();
 }
开发者ID:Chromedian,项目名称:inventory,代码行数:12,代码来源:ControllerTaskTest.php


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