Re: [devel] bx_resource::props
Christian Stocker <[email protected]>
| Newsgroups | gmane.comp.cms.bitflux.general |
|---|---|
| Organization | Bitflux GmbH |
| Message-ID | <[email protected]> |
On 14.12.2005 13:18 Uhr, qMax wrote: > Wednesday, November 30, 2005, 2:07:04 PM, Christian Stocker wrote: > > > > CS> On 29.11.2005 13:24 Uhr, qMax wrote: > >>>It's somewhat mixed with its derivatives: >>> it refers to $this->props, although never defines them. >>> >>>Thus bx_resource uses it (to implement many bxIresource methods), >>>but initialization of the props is up to derivatives, >>>so there's in general no guarantees it will work, >>>unless exploring bx_resource implementation code, >>>and writing down what props have to be set. > > > the $this->>props array is internal. you don't have to use it, if you > CS> want to implement your own resource, but you should implement the > CS> methods defined in bx/resource.php > method getFileName is missed in bx_resource > but required in tree.php > > interfaces are not clean defined :-[ We welcome patches :) (And yes, i know you sent some to bugzilla, will apply them as soon as I find some time) chregu > -- christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich phone +41 44 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71 http://www.bitflux.ch | [email protected] | GPG 0x5CE1DECB -- bitflux-cms mailing list [email protected] http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms