This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class SearchEngineInterface | |
{ | |
public function add($content); | |
public function remove($content); | |
public function find($query) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class GlFullTextIndexDoctrineAdapter extends GlSearchIndexAdapter | |
{ | |
/** | |
* | |
* @var Doctrine_Connection | |
*/ | |
protected $connection; | |
protected $model; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//login example1 | |
$browser = new sfTestFunctional(new sfBrowser()); | |
$browser-> | |
get('/yourloginrul')-> | |
click('yourSubmitButton', array('yourLoginFormNameFormat' => array('username' => 'yourUsername', 'password' => 'yourPassword')))-> | |
followRedirect(); | |
//Now you are authenticated | |
//login example2 | |
//More verbose for debug purpose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class sfGuardTestFunctional extends sfTestFunctional { | |
public function signin($username, $password) { | |
return $this-> | |
info(sprintf('Signin user using username "%s" and password "%s"', $username, $password))-> | |
get('/sfGuardAuth/signin')-> | |
click('signin', array('signin' => array('username' => $username, 'password' => $password,)))-> | |
with('form')->begin()-> | |
hasErrors(0)-> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Project form base class. | |
* | |
* @package versace | |
* @subpackage form | |
* @author Your name here | |
* @version SVN: $Id: sfDoctrineFormBaseTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $ | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Shop | |
* | |
* This class has been auto-generated by the Doctrine ORM Framework | |
* | |
* @subpackage model | |
* @author Your name here | |
* @version SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once dirname(__FILE__).'/../../../../../plugins/sfSimplePagePlugin/modules/sfSimplePage/lib/BasesfSimplePageActions.class.php'; | |
/** | |
* sfSimplePage actions. | |
* | |
* @package sfSimplePagePlugin | |
* @subpackage sfSimplePage | |
* @author Your name here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.svn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class OrteLookupService | |
{ | |
/** | |
* SoapClient | |
* | |
* @var OrteLookupClient | |
*/ | |
protected $client; | |
/** |
NewerOlder