How to initialize the constructor within the PEAR library |
[eluser]webbymonk[/eluser]
Hi guys, how are you guys? I just tried the pear integration within CI. And i found some difficulties to initialize th e parameter within the constructor. If we load the CI library, we have $params to pass through the library. for ex: $this->load->library('library',$params); as in the http://codeigniter.com/wiki/PEAR_integration/ in the example; $http_request = $this->pearloader->load('HTTP','Request'); how initialize the class constructor that contains some parameter? usually we do in the PHP Code: $serializer = new XML_Serializer(array( Thanks... |
Messages In This Thread |
How to initialize the constructor within the PEAR library - by El Forum - 02-17-2009, 11:15 PM
How to initialize the constructor within the PEAR library - by El Forum - 02-18-2009, 12:52 AM
How to initialize the constructor within the PEAR library - by El Forum - 02-18-2009, 01:01 AM
|