mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 04:23:19 +00:00
V 3.5 RC 1
This commit is contained in:
38
lib/classes/sphinx/charsetTableAbstract.class.php
Normal file
38
lib/classes/sphinx/charsetTableAbstract.class.php
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Phraseanet
|
||||
*
|
||||
* (c) 2005-2010 Alchemy
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
* @package
|
||||
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
|
||||
* @link www.phraseanet.com
|
||||
*/
|
||||
abstract class sphinx_charsetTableAbstract
|
||||
{
|
||||
|
||||
protected $table;
|
||||
|
||||
protected $name;
|
||||
|
||||
public function get_name()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
|
||||
public function get_table()
|
||||
{
|
||||
if (is_null($this->table))
|
||||
throw new Exception('Invalid charsetTable object');
|
||||
|
||||
return $this->table;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user