Created
June 20, 2013 07:21
-
-
Save chris-at-github/5820837 to your computer and use it in GitHub Desktop.
Kategorie laden
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $oDb = oxDb::getInstance(); | |
| $oCategory = oxNew('oxcategory'); | |
| $oCategory->setLanguage($this->getLanguage()); | |
| $sWhere = $oCategory->getSqlActiveSnippet(); | |
| $sSelect = 'SELECT * FROM | |
| oxcategories | |
| WHERE oxcategories.oxid = \'' . $oDb->escapeString($sOxid) . '\''; | |
| if($oCategory->assignRecord($sSelect)) { | |
| return $oCategory; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment