PHP Zend_Db_Table_Abstract::_setupTableName方法代码示例

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


PHP Zend_Db_Table_Abstract::_setupTableName方法代码示例

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

示例1: _setupTableName

 /**
  * Set name of table
  *
  */
 protected function _setupTableName()
 {
     if ($this->getRowClass()) {
         $this->_name = $this->getRowClass();
     }
     parent::_setupTableName();
 }
开发者ID:BGCX261,项目名称:zoocms-svn-to-git,代码行数:11,代码来源:Table.php

示例2: _setupTableName

 /**
  * This will automatically set table name with prefix from bootstrap file
  * @return void
  */
 protected function _setupTableName()
 {
     parent::_setupTableName();
     if (Zend_Registry::isRegistered('tbl_prefix')) {
         $this->_name = Zend_Registry::get('tbl_prefix') . $this->_name;
     }
 }
开发者ID:CalhounGaming,项目名称:simpleinvoices,代码行数:11,代码来源:Abstract.php

示例3: _setupTableName

 protected function _setupTableName()
 {
     if (defined('T_PREFIX')) {
         $this->_name = T_PREFIX . $this->_name;
     }
     parent::_setupTableName();
 }
开发者ID:ankuradhey,项目名称:laundry,代码行数:7,代码来源:Abstract.php

示例4: _setupTableName

 protected function _setupTableName()
 {
     if (is_null($this->_name)) {
         $this->_name = strtolower(str_replace('Model', '', get_class($this)));
     }
     parent::_setupTableName();
 }
开发者ID:html,项目名称:PI,代码行数:7,代码来源:Table.php

示例5: _setupTableName

 protected function _setupTableName()
 {
     if (empty($this->_name)) {
         $className = get_class($this);
         if (strncmp(self::PREFIX, $className, self::PREFIX_LEN) == 0) {
             $this->_name = strtolower(substr($className, self::PREFIX_LEN));
         } else {
             $this->_name = strtolower($className);
         }
     }
     parent::_setupTableName();
 }
开发者ID:juancarlosjco,项目名称:yaz,代码行数:12,代码来源:Abstract.php

示例6: _setupTableName

 /**
  * 
  * @return void
  */
 protected function _setupTableName()
 {
     parent::_setupTableName();
     $this->_name = Fox::getTablePrefix() . $this->_name;
 }
开发者ID:UnicodeSystems-PrivateLimited,项目名称:Zendfox,代码行数:9,代码来源:Model.php

示例7: _setupTableName

 /**
  * @throws \Exception
  */
 protected function _setupTableName()
 {
     $this->_config = Cunity::get("config");
     if ($this->_config->db->params->table_prefix !== '') {
         $this->_dbprefix = $this->_config->db->params->table_prefix . '_';
     }
     $this->_name = $this->_dbprefix . $this->_name;
     parent::_setupTableName();
 }
开发者ID:rcrrich,项目名称:cunity,代码行数:12,代码来源:Table.php

示例8: _setupTableName

 /**
  * Initialize table and schema names.
  *
  * If the table name is not set in the class definition,
  * use the class name itself as the table name.
  *
  * A schema name provided with the table name (e.g., "schema.table") overrides
  * any existing value for $this->_schema.
  *
  * @return void
  */
 protected function _setupTableName()
 {
     parent::_setupTableName();
     $this->_prefix = Axis::config()->db->prefix;
     $this->_name = $this->_prefix . $this->_name;
 }
开发者ID:baisoo,项目名称:axiscommerce,代码行数:17,代码来源:Abstract.php

示例9: _setupTableName

 /**
  * Translate our class name to a table name and setup it.
  * See Naming Conventions for more information.
  *
  * @return void
  */
 protected function _setupTableName()
 {
     $this->_name = $this->getTableName();
     parent::_setupTableName();
 }
开发者ID:RainyBlueSky,项目名称:PHProjekt,代码行数:11,代码来源:Abstract.php

本文标签属性:

示例:示例志愿表

代码:代码大全可复制

PHP:PHP

Zend_Db_Table_Abstract:Zend_Db_Table_Abstract

_setupTableName:_setupTableName

上一篇:危险的她演员表(老大不小演员表)
下一篇:Python PYLOAD.getPluginConfig方法代码示例(pythonpyload.getpluginconfig方法的典型用法代码示例)

为您推荐