Tutorial Extension
1.0.0
SellerDeck Extensions - Tutorial Extension
|
Classes | |
class | Array2XML |
class | CLogger |
class | CSession |
class | CValidator |
class | ExpiredSessionException |
class | InvalidArgumentTypeException |
class | SessionDisabledException |
class | SessionHandlerException |
class | XML2Array |
Session Helper Class
A simple session wrapper class.
Recommended for use with PHP 5.4.0 or higher. (Not required.)
Usage Example: <?php try { Session::w('foo', 'bar');
echo Session::r('foo'); } catch (Exception $e) { // do something } ?>
Copyright (c) 2013 Robert Dunham Modified by Peter Erdodi (c) 2015 SellerDeck Ltd.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Array2XML: A class to convert array in PHP to XML It also takes into account attributes names unlike SimpleXML in PHP It returns the XML in form of DOMDocument class for further manipulation. It throws exception if the tag name or attribute name has illegal chars.
Author : Lalit Patel Website: http://www.lalit.org/lab/convert-php-array-to-xml-with-attributes License: Apache License 2.0 http://www.apache.org/licenses/LICENSE-2.0 Version: 0.1 (10 July 2011) Version: 0.2 (16 August 2011)
Usage: $xml = Array2XML::createXML('root_node_name', $php_array); echo $xml->saveXML();
XML2Array: A class to convert XML to array in PHP It returns the array which can be converted back to XML using the Array2XML script It takes an XML string or a DOMDocument object as an input.
See Array2XML: http://www.lalit.org/lab/convert-php-array-to-xml-with-attributes
Author : Lalit Patel Website: http://www.lalit.org/lab/convert-xml-to-array-in-php-xml2array License: Apache License 2.0 http://www.apache.org/licenses/LICENSE-2.0 Version: 0.1 (07 Dec 2011) Version: 0.2 (04 Mar 2012) Fixed typo 'DomDocument' to 'DOMDocument'
Usage: $array = XML2Array::createArray($xml);