Jump to content


Photo
- - - - -

Получить объект материала из базы данных по его alias?

api alias alias item

Best Answer Alexan , 19 September 2014 - 17:08

$item2 = JBModelItem::model()->getByAlias($alias);

Go to the full post


  • This topic is locked This topic is locked
1 reply to this topic

#1 Alexan

Alexan
  • JBZoo User (rus)
  • User rate: 0
  • posts: 128
  • topics: 43

Posted 19 September 2014 - 16:35

в Full или Teaser.

Как?


Edited by Alexan, 19 September 2014 - 16:59.

  • 0

#2 Alexan

Alexan
  • Topic Starter
  • JBZoo User (rus)
  • User rate: 0
  • posts: 128
  • topics: 43

Posted 19 September 2014 - 17:08   Best Answer

$item2 = JBModelItem::model()->getByAlias($alias);


  • 0





Also tagged with one or more of these keywords: api, alias, alias item

Click to return to top of page in style!