예제 #1
0
 /**
  * Retrieves a JTable object. This simplifies the caller from manually adding include path all the time.
  *
  * @since	1.0
  * @access	public
  * @param	string	$name		The table's name without the prefix.
  * @param	string	$prefix		Optional prefixed table name.
  *
  * @return	JTable				The JTable object.
  */
 public static function table($name, $prefix = 'SocialTable')
 {
     $table = SocialTable::getInstance($name, $prefix);
     return $table;
 }