cvs: pear /Translation2/Admin Decorator.php

From: Date: Tue, 26 Oct 2004 10:00:33 +0000
Subject: cvs: pear /Translation2/Admin Decorator.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-25235@lists.php.net to get a copy of this message
ieure Tue Oct 26 06:00:33 2004 EDT Added files: /pear/Translation2/Admin Decorator.php Log: added rough initial version http://cvs.php.net/co.php/pear/Translation2/Admin/Decorator.php?r=1.1&p=1 Index: pear/Translation2/Admin/Decorator.php +++ pear/Translation2/Admin/Decorator.php <?php /* vim: set expandtab tabstop=4 shiftwidth=4: */ // +----------------------------------------------------------------------+ // | PHP Version 4 | // +----------------------------------------------------------------------+ // | Copyright (c) 1997-2004 The PHP Group | // +----------------------------------------------------------------------+ // | This source file is subject to version 3.0 of the PHP license, | // | that is bundled with this package in the file LICENSE, and is | // | available at through the world-wide-web at | // | http://www.php.net/license/3_0.txt. | // | If you did not receive a copy of the PHP license and are unable to | // | obtain it through the world-wide-web, please send a note to | // | license@php.net so we can mail you a copy immediately. | // +----------------------------------------------------------------------+ // | Authors: Lorenzo Alberton <l dot alberton at quipo dot it> | // +----------------------------------------------------------------------+ // // $Id: Decorator.php,v 1.1 2004/10/26 10:00:32 ieure Exp $ // /** * @package Translation2 * @version $Id: Decorator.php,v 1.1 2004/10/26 10:00:32 ieure Exp $ */ /** * Decorates a Translation2_Admin class. * Create a subclass of this class for your own "decoration". * @abstract * @package Translation2 */ class Translation2_Admin_Decorator extends Translation2_Decorator { function createNewLang($langData) { return $this->translation2->createNewLang($langData); } function removeLang($langID = null, $force = false) { return $this->translation2->removeLang($langID, $force); } function add($stringID, $pageID = null, $stringArray) { return $this->translation2->add($stringID, $pageID, $stringArray); } function update($stringID, $pageID = null, $stringArray) { return $this->translation2->update($stringID, $pageID, $stringArray); } function remove($stringID, $pageID = null) { return $this->translation2->remove($stringID, $pageID); } function cleanCache() { return $this->translation2->cleanCache(); } } ?>

« previous php.pear.cvs (#25235) next »