|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Link database ini file
Hi, I've installed PEAR corectly and this is my dataobject/schema directory appearence:
example.ini with this text: [DB_DataObject] database = mysql://root:root@localhost/example schema_location = /dataobjects/schema/ class_location = /dataobjects/ require_prefix = /dataobjects/ class_prefix = DataObjects_ extends_location = DB/DataObject.php extends = DB_DataObject and example.links.ini with this text: [canal] idCanal = canalItem:idCanal [item] idItem = canalItem:idItem idTipoItem = tipoItem:idTipoItem [categoriaNoticia] idNoticiaWAP = notociaWAP:idNoticiaWAP idCategoriaWAP = categoriaWAP:idCategoriaWAP [canalWAPCategoria] idCanalWAP = canalWAP:idCanalWAP idCategoriaWAP = categoriaWAP:idCategoriaWAP I would like to know, how can I see the relationhship that PEAR is using (something like the phpinfo page t see the server configuration)between the object that I performed, because I can't make a joinAdd() function and I think that is directly related with it. Must I put a line in the example.ini like this links_{example} = /dataobjects/schema/ ? I've tried with it, but it didn't work. Thanks. |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PEAR Packages > Link database ini file |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|