This file contains 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
import re | |
def _camel_to_underscore_case(name): | |
""" | |
Translate 'CamelCaseNames' to 'camel_case_names'. | |
""" | |
camelcase_boundry = '((?<=[a-z])[A-Z])' | |
return re.sub(camelcase_boundry, '_\\1', name).lower() | |
def camel_to_underscore_case(obj, deep=True): |
This file contains 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 | |
require_once 'Zend/Application/Resource/ResourceAbstract.php'; | |
require_once 'Zend/Log.php'; | |
/** | |
* Multilog Resource | |
* | |
* @category Zend | |
* @package Zend_Application |