chg: remove obsolete files

pull/1232/head
Andreas Ziegler 2016-06-06 17:18:26 +02:00
parent 4f3dd48fde
commit cadda1ae45
17 changed files with 0 additions and 111 deletions

View File

@ -1,32 +0,0 @@
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::
:: Bake is a shell script for running CakePHP bake script
:: PHP 5
::
:: CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
:: Copyright 2005-2012, Cake Software Foundation, Inc.
::
:: Licensed under The MIT License
:: Redistributions of files must retain the above copyright notice.
::
:: @copyright Copyright 2005-2012, Cake Software Foundation, Inc.
:: @link http://cakephp.org CakePHP(tm) Project
:: @package app.Console
:: @since CakePHP(tm) v 2.0
:: @license MIT License (http://www.opensource.org/licenses/mit-license.php)
::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: In order for this script to work as intended, the cake\console\ folder must be in your PATH
@echo.
@echo off
SET app=%0
SET lib=%~dp0
php -q "%lib%cake.php" -working "%CD% " %*
echo.
exit /B %ERRORLEVEL%

View File

@ -1,52 +0,0 @@
<?php
/**
* http://en.wikipedia.org/wiki/CamelCase
* 70 | ERROR | Public method name "notUsed_Call" is not in camel caps format
**/
class CamelCase {
/**
* http://php.net/manual/en/function.lcfirst.php
**/
public function lcfirst($str) {
$str{0} = strtolower($str{0});
return $str;
}
/**
*
**/
public function camelBack($input) {
return $this->lcfirst($this->fromCamelCase($match));
}
/**
* http://stackoverflow.com/questions/1993721/how-to-convert-camelcase-to-camel-case
**/
public function fromCamelCase($input) {
preg_match_all('!([A-Z][A-Z0-9]*(?=$|[A-Z][a-z0-9])|[A-Za-z][a-z0-9]+)!', $input, $matches);
$ret = $matches[0];
foreach ($ret as &$match) {
$match = $match == strtoupper($match) ? strtolower($match) : $this->lcfirst($match); // TODO string lcfirst
}
return implode('_', $ret);
}
/**
* http://www.paulferrett.com/2009/php-camel-case-functions/
**/
public function fromCamelCase2($str) {
$str[0] = strtolower($str[0]);
$func = create_function('$c', 'return "_" . strtolower($c[1]);');
return preg_replace_callback('/([A-Z])/', $func, $str);
}
/**
*
**/
public function toCamelCase($underscored) {
//App::uses('Inflector', 'lib');
return Inflector::camelize($underscored);
}
}

View File

@ -1,27 +0,0 @@
<?php
class XMLConverterTool {
public function recursiveEcho($array) {
$text = "";
foreach ($array as $k => $v) {
if (is_array($v)) {
if (empty($v)) $text .= '<' . $k . '/>';
else {
$text .= '<' . $k . '>';
foreach ($v as $k2 => $element) {
if (!is_array($element)) $text .= '<' . $k2 . '>' . $element . '</' . $k2 . '>';
else {
$text .= $this->recursiveEcho($element);
}
}
$text .= '</' . $k . '>';
}
} else {
if ($v === false) $v = 0;
if ($v === "" || $v === null) $text .= '<' . $k . '/>';
else {
$text .= '<' . $k . '>' . $v . '</' . $k . '>';
}
}
}
return $text;
}

View File

View File

0
app/Vendor/empty vendored
View File

View File

View File

View File