Exemplo n.º 1
0
 /**
  * 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 5
0
 /**
  * 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 7
0
 public function getTable($name = 'Objects', $prefix = 'CocoateRealEstateTable', $options = array())
 {
     return parent::getTable($name, $prefix, $options);
 }
Exemplo n.º 8
0
 public function getTable($name = 'properties', $prefix = 'Table', $options = array())
 {
     return parent::getTable($name, $prefix, $options);
 }
Exemplo n.º 9
0
Arquivo: del.php Projeto: p33t00/joo3
 public function getTable($name = 'Edit', $prefix = 'Table', $options = array())
 {
     $tbl = parent::getTable($name, $prefix, $options);
     return $tbl;
 }
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 12
0
 /**
  * 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 14
0
 public function getTable($name = '', $prefix = 'HelloWorldTable', $options = array())
 {
     return parent::getTable($name, $prefix, $options);
 }
Exemplo n.º 15
0
 public function getTable($type = 'Harvest', $prefix = 'JHarvestTable', $config = array())
 {
     return parent::getTable($type, $prefix, $config);
 }
Exemplo n.º 16
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 = 'state', $prefix = 'OpenHrmTable', $options = array())
 {
     return parent::getTable($name, $prefix, $options);
 }
Exemplo n.º 17
0
 public function getTable($name = '', $prefix = 'Table', $options = array())
 {
     return parent::getTable("Rule", "SimpleloggerTable", $options);
     // TODO: Change the autogenerated stub
 }