예제 #1
0
파일: base.php 프로젝트: prox91/joomla-dev
 /**
  * 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);
 }
 public function getTable($name = '', $prefix = 'VideoTranslationTable', $options = array())
 {
     return parent::getTable($name, $prefix, $options);
 }
예제 #3
0
 /**
  * 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);
 }
예제 #4
0
 /**
  * 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 = 'grammarexercise', $prefix = 'EnglishConceptTable', $options = array())
 {
     return parent::getTable($name, $prefix, $options);
 }
예제 #5
0
파일: home.php 프로젝트: rogeriocc/fabrik
 /**
  * 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);
 }
예제 #6
0
 /**
  * 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);
 }
예제 #7
0
 public function getTable($name = 'Objects', $prefix = 'CocoateRealEstateTable', $options = array())
 {
     return parent::getTable($name, $prefix, $options);
 }
예제 #8
0
 public function getTable($name = 'properties', $prefix = 'Table', $options = array())
 {
     return parent::getTable($name, $prefix, $options);
 }
예제 #9
0
파일: del.php 프로젝트: p33t00/joo3
 public function getTable($name = 'Edit', $prefix = 'Table', $options = array())
 {
     $tbl = parent::getTable($name, $prefix, $options);
     return $tbl;
 }
예제 #10
0
 /**
  * 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 = 'composition', $prefix = 'EnglishConceptTable', $options = array())
 {
     return parent::getTable($name, $prefix, $options);
 }
예제 #11
0
 /**
  * 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 = 'Userextended', $prefix = 'Hs_usersTable', $options = array())
 {
     return parent::getTable($name, $prefix, $options);
 }
예제 #12
0
파일: route.php 프로젝트: A-Bush/pprod
 /**
  * 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);
 }
예제 #13
0
 /**
  * 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);
 }
예제 #14
0
 public function getTable($name = '', $prefix = 'HelloWorldTable', $options = array())
 {
     return parent::getTable($name, $prefix, $options);
 }
예제 #15
0
 public function getTable($type = 'Harvest', $prefix = 'JHarvestTable', $config = array())
 {
     return parent::getTable($type, $prefix, $config);
 }
예제 #16
0
파일: state.php 프로젝트: prox91/joomla-dev
 /**
  * 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 = 'state', $prefix = 'OpenHrmTable', $options = array())
 {
     return parent::getTable($name, $prefix, $options);
 }
예제 #17
0
 public function getTable($name = '', $prefix = 'Table', $options = array())
 {
     return parent::getTable("Rule", "SimpleloggerTable", $options);
     // TODO: Change the autogenerated stub
 }