当前位置: 首页>>代码示例>>PHP>>正文


PHP JModelAdmin::getTable方法代码示例

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


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

示例1: getTable

 /**
  * Get the associated JTable
  *
  * @param   string  $name    Table name
  * @param   string  $prefix  Table prefix
  * @param   array   $config  Configuration array
  *
  * @return  JTable
  */
 public function getTable($name = null, $prefix = '', $config = array())
 {
     $class = get_class($this);
     if (empty($name)) {
         $name = strstr($class, 'Model');
         $name = str_replace('Model', '', $name);
     }
     if (empty($prefix)) {
         $prefix = strstr($class, 'Model', true) . 'Table';
     }
     return parent::getTable($name, $prefix, $config);
 }
开发者ID:prox91,项目名称:joomla-dev,代码行数:21,代码来源:base.php

示例2: getTable

 public function getTable($name = '', $prefix = 'VideoTranslationTable', $options = array())
 {
     return parent::getTable($name, $prefix, $options);
 }
开发者ID:rogatnev-nikita,项目名称:cloudinterpreter,代码行数:4,代码来源:subjectsrate.php

示例3: getTable

 /**
  * Method to get a table object, load it if necessary.
  *
  * @param   string  $name     The table name. Optional.
  * @param   string  $prefix   The class prefix. Optional.
  * @param   array   $options  Configuration array for model. Optional.
  *
  * @return  JTable  A JTable object
  *
  * @since   12.2
  * @throws  Exception
  */
 public function getTable($name = 'organizationinfo', $prefix = 'OpenHrmTable', $options = array())
 {
     return parent::getTable($name, $prefix, $options);
 }
开发者ID:prox91,项目名称:joomla-dev,代码行数:16,代码来源:organizationinfo.php

示例4: getTable

 /**
  * Returns a reference to the a Table object, always creating it.
  *
  * @param   string  $type    The table type to instantiate
  * @param   string  $prefix  A prefix for the table class name. Optional.
  * @param   array   $config  Configuration array for model. Optional.
  *
  * @return  JTable	A database object
  */
 public function getTable($type = 'Cron', $prefix = 'FabrikTable', $config = array())
 {
     $config['dbo'] = FabriKWorker::getDbo(true);
     return parent::getTable($type, $prefix, $config);
 }
开发者ID:rogeriocc,项目名称:fabrik,代码行数:14,代码来源:home.php

示例5: getTable

 /**
  * Returns a reference to the a Table object, always creating it.
  *
  * @param    type    The table type to instantiate
  * @param    string    A prefix for the table class name. Optional.
  * @param    array    Configuration array for model. Optional.
  * @return    JTable    A database object
  */
 public function getTable($type = null, $prefix = null, $config = array())
 {
     $prefix = $prefix ? $prefix : ucfirst($this->component) . 'Table';
     $type = $type ? $type : $this->item_name;
     return parent::getTable($type, $prefix, $config);
 }
开发者ID:ForAEdesWeb,项目名称:AEW3,代码行数:14,代码来源:modeladmin.php

示例6: getTable

 public function getTable($name = 'Objects', $prefix = 'CocoateRealEstateTable', $options = array())
 {
     return parent::getTable($name, $prefix, $options);
 }
开发者ID:rpijpers,项目名称:com_cocoaterealestate,代码行数:4,代码来源:object.php

示例7: getTable

 public function getTable($name = 'Edit', $prefix = 'Table', $options = array())
 {
     $tbl = parent::getTable($name, $prefix, $options);
     return $tbl;
 }
开发者ID:p33t00,项目名称:joo3,代码行数:5,代码来源:del.php

示例8: getTable

 /**
  * Override for JModel::getTable with the proper name and prefix.
  * Ensures that when getTable() is called from parent models the proper
  * table will be returned.
  *
  * @param string $name The table name. Optional.
  * @param string $prefix The class prefix. Optional.
  * @param array $options Configuration array for model. Optional.
  * @return JTable A JTable object
  */
 public function getTable($name = 'Route', $prefix = 'SimpleCustomRouterTable', $options = array())
 {
     return parent::getTable($name, $prefix, $options);
 }
开发者ID:A-Bush,项目名称:pprod,代码行数:14,代码来源:route.php

示例9: getTable

 /**
  * Returns a reference to the a Table object, always creating it.
  *
  * @param    type      The table type to instantiate
  * @param    string    A prefix for the table class name. Optional.
  * @param    array     Configuration array for model. Optional.
  *
  * @return    JTable    A database object
  * @since    1.0
  */
 public function getTable($type = 'Sichtweitenmeldung', $prefix = 'SichtweitenTable', $config = array())
 {
     return parent::getTable($type, $prefix, $config);
 }
开发者ID:Bakual,项目名称:Sichtweiten,代码行数:14,代码来源:sichtweitenmeldung.php

示例10: getTable

 public function getTable($name = '', $prefix = 'HelloWorldTable', $options = array())
 {
     return parent::getTable($name, $prefix, $options);
 }
开发者ID:rvsjoen,项目名称:joomla-tutorials,代码行数:4,代码来源:helloworld.php

示例11: getTable

 public function getTable($type = 'Harvest', $prefix = 'JHarvestTable', $config = array())
 {
     return parent::getTable($type, $prefix, $config);
 }
开发者ID:knowledgearcdotorg,项目名称:jharvest,代码行数:4,代码来源:harvest.php

示例12: getTable

 public function getTable($name = '', $prefix = 'Table', $options = array())
 {
     return parent::getTable("Rule", "SimpleloggerTable", $options);
     // TODO: Change the autogenerated stub
 }
开发者ID:digitalgarage,项目名称:simplelogger,代码行数:5,代码来源:rule.php


注:本文中的JModelAdmin::getTable方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。