/lib/filters/ucfirst.php
https://github.com/sahid/ootemplate · PHP · 33 lines · 8 code · 2 blank · 23 comment · 0 complexity · e4dfc10af1fadd4865783becf55aa044 MD5 · raw file
- <?php
- /**
- * @project OOTemplate
- * @license GNU Lesser General Public License 3
- * @copyright (c) Ferdjaoui Sahid 2009
- *
- * This file is part of OOTemplate.
- *
- * OOTemplate is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * OOTemplate 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with OOTemplate. If not, see <http://www.gnu.org/licenses/>.
- *
- * @author Ferdjaoui Sahid <sahid.ferdjaoui@gmail.com>
- * @package template
- */
-
- class ucfirst extends OOTemplate_FilterAdapter
- {
- public function resolve (OOTemplate_Context $context)
- {
- return ucfirst ($this->_resolved);
- }
- }