-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
669 changed files
with
31,997 additions
and
40 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,8 @@ | |
* @author Fabien Potencier <[email protected]> | ||
* | ||
* @version SVN: $Id$ | ||
* | ||
* @deprecated | ||
*/ | ||
class sfEAcceleratorCache extends sfCache | ||
{ | ||
|
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,8 @@ | |
* @author Fabien Potencier <[email protected]> | ||
* | ||
* @version SVN: $Id$ | ||
* | ||
* @deprecated | ||
*/ | ||
class sfXCacheCache extends sfCache | ||
{ | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,16 +24,22 @@ | |
* @author Sean Kerr <[email protected]> | ||
* | ||
* @version SVN: $Id$ | ||
* | ||
* @deprecated | ||
*/ | ||
class sfMySQLDatabase extends sfDatabase | ||
{ | ||
/** | ||
* Connects to the database. | ||
* | ||
* @throws <b>sfDatabaseException</b> If a connection could not be created | ||
* | ||
* @deprecated | ||
*/ | ||
public function connect() | ||
{ | ||
@trigger_error('sfMySQLDatabase storage is deprecated. use sfMySQLiDatabase instead.', \E_USER_DEPRECATED); | ||
|
||
$database = $this->getParameter('database'); | ||
$host = $this->getParameter('host', 'localhost'); | ||
$password = $this->getParameter('password'); | ||
|
@@ -78,9 +84,13 @@ public function connect() | |
* Execute the shutdown procedure. | ||
* | ||
* @throws <b>sfDatabaseException</b> If an error occurs while shutting down this database | ||
* | ||
* @deprecated | ||
*/ | ||
public function shutdown() | ||
{ | ||
@trigger_error('sfMySQLDatabase storage is deprecated. use sfMySQLiDatabase instead.', \E_USER_DEPRECATED); | ||
|
||
if (null != $this->connection) { | ||
@mysql_close($this->connection); | ||
} | ||
|
@@ -92,9 +102,13 @@ public function shutdown() | |
* @param bool $persistent wether persistent connections are use or not | ||
* | ||
* @return string name of connect method | ||
* | ||
* @deprecated | ||
*/ | ||
protected function getConnectMethod($persistent) | ||
{ | ||
@trigger_error('sfMySQLDatabase storage is deprecated. use sfMySQLiDatabase instead.', \E_USER_DEPRECATED); | ||
|
||
return $persistent ? 'mysql_pconnect' : 'mysql_connect'; | ||
} | ||
|
||
|
@@ -104,9 +118,13 @@ protected function getConnectMethod($persistent) | |
* @param string $database Name of database to be connected | ||
* | ||
* @return bool true if this was successful | ||
* | ||
* @deprecated | ||
*/ | ||
protected function selectDatabase($database) | ||
{ | ||
@trigger_error('sfMySQLDatabase storage is deprecated. use sfMySQLiDatabase instead.', \E_USER_DEPRECATED); | ||
|
||
return null != $database && !@mysql_select_db($database, $this->connection); | ||
} | ||
} |
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
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
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
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
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
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
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
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
Oops, something went wrong.