View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001430 | OXID eShop (all versions) | 4. ------ eShop Core ------- | public | 2009-10-30 14:06 | 2012-12-10 13:42 |
Reporter | d3 | Assigned To | |||
Priority | normal | Severity | tweak | Reproducibility | N/A |
Status | resolved | Resolution | no change required | ||
Product Version | 4.2.0 revision 23610 | ||||
Summary | 0001430: protected oxarticle::_hasAnyVariant() | ||||
Description | Why oxarticle::_hasAnyVariant() is protected? In any situations in smarty etc. it will be fine to know if a article has variants without loading whole variantlist with oxarticle::getVariantList(). | ||||
Tags | No tags attached. | ||||
Theme | |||||
Browser | All | ||||
PHP Version | 5.2.6 | ||||
Database Version | 5.0.33 | ||||
|
Reminder sent to: d3 Hi, This function is planned to be protected, because we see no sense to make it public. The fact - if article has variants - depends on more factors. For checking if article has variants - the best way is to use oxArticle::getVariants() and check returned array. Best regards, |