This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * @Author neun | |
| * @since 09.04.2015 21:23 | |
| */ | |
| class XMLifier | |
| { | |
| /** | |
| * Regex chars that _dont_ need to be wrapped in CDATA. | |
| * @var string |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * @Author neun | |
| * @since 17.04.2015 23:51 | |
| */ | |
| class XMLifier | |
| { | |
| /** | |
| * Regex chars that _dont_ need to be wrapped in CDATA. | |
| * @var string |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * @Author neun | |
| * @since 20.04.2015 23:55 | |
| */ | |
| Autoload::load(); | |
| class Autoload | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // Convert n-dimensinal array to xml style string & wrap CDATA. | |
| function xmlify($arr) | |
| { | |
| $str = null; | |
| foreach ($arr as $k => $v) { | |
| if (is_array($v)) { | |
| $str .= "<$k>" . xmlify($v) . "</$k>"; | |
| } else { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * @author nimmneun | |
| * @since 04.06.2015 23:52 | |
| */ | |
| const DS = DIRECTORY_SEPARATOR; | |
| spl_autoload_register(function($class) | |
| { | |
| if (false === isset($GLOBALS['classes'])) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Universal Object factory ... well kinda :p | |
| * | |
| * @author nimmneun | |
| * @since 06.06.2015 03:07 | |
| */ | |
| class Trunk | |
| { | |
| /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * @author nimmneun | |
| * @since 27.06.2015 06:05 | |
| */ | |
| class CsvReader | |
| { | |
| /** | |
| * The single line strings. | |
| * @var array |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * @author nimmneun | |
| * @since 28.06.2015 11:36 | |
| */ | |
| class Shell | |
| { | |
| private $out; | |
| private $cmd; | |
| private $exc; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * User: nimmneun | |
| * Date: 28.06.2015 19:46 | |
| */ | |
| class CsvReader | |
| { | |
| private $lines; | |
| private $delimiter; | |
| private $wrapper; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * @author nimmneun | |
| * @since 02.07.2015 22:31 | |
| */ | |
| class CsvReader | |
| { | |
| private $delimiter; | |
| private $enclosure; | |
| private $escape; |
OlderNewer