Beispiel #1
0
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU AFFERO GENERAL PUBLIC LICENSE for more details.
 *
 * You should have received a copy of the GNU Affero General Public
 * License along with this library.  If not, see <http://www.gnu.org/licenses/>.
 *
 */
namespace OCA\Contacts\Utils;

use OCA\Contacts\App;
use OCA\Contacts\VObject\VCard;
use Sabre\VObject\UUIDUtil;
Properties::$l10n = \OCP\Util::getL10N('contacts');
class Properties
{
    const THUMBNAIL_PREFIX = 'contact-thumbnail-';
    const THUMBNAIL_SIZE = 32;
    private static $deleteindexstmt;
    private static $updateindexstmt;
    protected static $cardsTableName = '*PREFIX*contacts_cards';
    protected static $indexTableName = '*PREFIX*contacts_cards_properties';
    /**
     * @brief language object for calendar app
     *
     * @var \OCP\IL10N
     */
    public static $l10n;
    /**