Code Search for Developers
 
 
  

MockFakePluginWithEvents.php from Astrum Futura at Krugle


Show MockFakePluginWithEvents.php syntax highlighted

<?php

//Ignore the calls to parent::<method>()
// ... they are purely to notify the mock
class MockFakePluginWithEvents extends MockFakePlugin
{
	public $pluginName = 'Fake';
	public $swift;
	
	public function loadBaseObject(&$swift)
	{
		parent::loadBaseObject(&$swift);
		$this->swift =& $swift;
	}
	
	public function callSwiftAddCc($address)
	{
		$this->swift->addCc($address);
	}
	
	public function onLoad()
	{
		parent::onLoad();
	}
	
	public function onSend()
	{
		parent::onSend();
	}
	
	public function onBeforeSend()
	{
		parent::onBeforeSend();
	}
	
	public function onBeforeCommand()
	{
		parent::onBeforeCommand();
	}
	
	public function onCommand()
	{
		parent::onCommand();
	}
	
	public function onResponse()
	{
		parent::onResponse();
	}
	
	public function onUnload()
	{
		parent::onUnload();
	}
	
	public function onClose()
	{
		parent::onClose();
	}
	
	public function onError()
	{
		parent::onError();
	}
	
	public function onFail()
	{
		parent::onFail();
	}
	
	public function onLog()
	{
		parent::onLog();
	}
	
	public function onConnect()
	{
		parent::onConnect();
	}
	
	public function onAuthenticate()
	{
		parent::onAuthenticate();
	}
}

?>



See more files for this project here

Astrum Futura

Multiplayer space strategy game written in PHP5 with the Zend Framework. User interface uses Javascript/AJAX for dynamic interaction. Players compete across a hexagonal map of 10,000 sectors, planets, stars and other locations through trade and combat.

Project homepage: http://sourceforge.net/projects/astrumfutura
Programming language(s): PHP,XML
License: other

  FakeConnection.php
  FakePlugin.php
  MockFakePluginWithEvents.php
  SmtpStub.php
  alltests.php
  testofsmtpstub.php
  testofstream.php
  testofswift.php