Source of file PlatformInterface.php
Size: 2,017 Bytes - Last Modified: 2014-03-12T23:21:18+01:00
/home/theseer/Downloads/ZendFramework-2.3.0/library/Zend/Db/Adapter/Platform/PlatformInterface.php
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 | <?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/zf2 for the canonical source repository * @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ namespace Zend\Db\Adapter\Platform; interface PlatformInterface { /** * Get name * * @return string */ public function getName(); /** * Get quote identifier symbol * * @return string */ public function getQuoteIdentifierSymbol(); /** * Quote identifier * * @param string $identifier * @return string */ public function quoteIdentifier($identifier); /** * Quote identifier chain * * @param string|string[] $identifierChain * @return string */ public function quoteIdentifierChain($identifierChain); /** * Get quote value symbol * * @return string */ public function getQuoteValueSymbol(); /** * Quote value * * Will throw a notice when used in a workflow that can be considered "unsafe" * * @param string $value * @return string */ public function quoteValue($value); /** * Quote Trusted Value * * The ability to quote values without notices * * @param $value * @return mixed */ public function quoteTrustedValue($value); /** * Quote value list * * @param string|string[] $valueList * @return string */ public function quoteValueList($valueList); /** * Get identifier separator * * @return string */ public function getIdentifierSeparator(); /** * Quote identifier in fragment * * @param string $identifier * @param array $additionalSafeWords * @return string */ public function quoteIdentifierInFragment($identifier, array $additionalSafeWords = array()); } |