Changeset 2442 for sandbox/workflow
- Timestamp:
- 04/07/10 14:40:19 (14 years ago)
- Location:
- sandbox/workflow/branches/609/inc/nano
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/workflow/branches/609/inc/nano/NanoController.class.php
r2311 r2442 59 59 function __construct() 60 60 { 61 $this->_mObjJsonConverter = &Factory::newInstance('NanoJsonConverter');62 $this->_mObjJson = &Factory::newInstance('Services_JSON');61 $this->_mObjJsonConverter = new NanoJsonConverter(); 62 $this->_mObjJson = new Services_JSON(); 63 63 } 64 64 … … 130 130 public function iterateOverVirtualRequests() 131 131 { 132 $this->_mObjNanoRequest = &Factory::newInstance('NanoRequest',$this->_mStrClassPath, $this->_mStrClassSuffix, $this->_mStrClassPreffix );132 $this->_mObjNanoRequest = new NanoRequest( $this->_mStrClassPath, $this->_mStrClassSuffix, $this->_mStrClassPreffix ); 133 133 $return_data = array(); 134 134 -
sandbox/workflow/branches/609/inc/nano/NanoGuardian.class.php
r2311 r2442 32 32 public function __construct() 33 33 { 34 $this->_mObjNanoSanitizer = &Factory::newInstance('NanoSanitizer',new DummyLogger);34 $this->_mObjNanoSanitizer = new NanoSanitizer(new DummyLogger); 35 35 } 36 36 -
sandbox/workflow/branches/609/inc/nano/NanoJsonConverter.class.php
r2311 r2442 118 118 // initialize JSON object 119 119 $this->_mObjJson = ( strtolower($return_type) != 'object' ) 120 ? Factory::getInstance('Services_JSON',SERVICES_JSON_LOOSE_TYPE )121 : Factory::getInstance('Services_JSON');120 ? new Services_JSON( SERVICES_JSON_LOOSE_TYPE ) 121 : new Services_JSON(); 122 122 } 123 123
Note: See TracChangeset
for help on using the changeset viewer.