Hi,

if you want to see which attributes are assigned to a category, you have to
switch to the attributes, select the tab categories and look if your
categroy is there (quite annoying).

Therfore I'm developing a small extension which will show the assigned
attributes on the main tab of a category.

I use the method getAttributes() to get the attributes, but

a) the function returns only the used attributes (and not all assigned
attributes)
Question: Is there another function to get all attribtues?

b) Using $oAttribute->oxtitle__oxid->value returns an empty string, but the
print_r shows all values:

oxAttribute Object
(
    [_sClassName:protected] => oxattribute
    [_sActiveValue:protected] =>
    [_sTitle:protected] => Einsatzbereich
    [_aValues:protected] => Array
        (
            [0] => All-Terrain
            [1] => All-Terrain, Freeride
            [2] => Allround
            [3] => Freeride
            [4] => Freeride, Freestyle, New-School
            [5] => Freeride, Wakestyle, Wave
            [6] => Old-School, Big Air
            [7] => Progressive Freestyle, Wakestyle
        )

Any ideas, what I'm doing wrong?


Thanks in advance!

Joachim Barthel
-----------------------------
OxAds<http://exchange.oxid-esales.com/de/Marketing/Produktmarketing/OxAds-0-3-Stable-CE-4-3-x-4-7-x.html>
--
OxProbs<http://exchange.oxid-esales.com/de/Datenmanagement/Produktdaten/OxProbs-0-4-Stable-CE-4-3-x-4-7-x.html>--
Piwik-Plugin<http://exchange.oxid-esales.com/de/Controlling/Data-Mining/OXID-Plugin-fuer-Piwik-0-10-Stable-CE-4-3-x-4-7-x.html>
--
jxAttrEdit<http://exchange.oxid-esales.com/de/Datenmanagement/Artikel-bearbeiten/jxAttrEdit-0-2-Stable-CE-4-7-x.html>
--
jxExcptns<http://exchange.oxid-esales.com/de/OXID/Weitere-OXID-Extensions/jxExcptns-0-1-1-Stable-CE-4-7-x.html>--
jxSales<http://exchange.oxid-esales.com/de/Shopping-Prozess/Kundenmanagement/jxSales-0-2-Stable-CE-4-7-x.html>
_______________________________________________
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general

Reply via email to