* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package WoltLabSuite\Core\Data\Article
* @since 3.0
+ *
+ * @method ViewableArticle current()
+ * @method ViewableArticle[] getObjects()
+ * @method ViewableArticle|null search($objectID)
+ * @property ViewableArticle[] $objects
*/
class ViewableArticleList extends ArticleList {
/**
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package WoltLabSuite\Core\Data\Article\Content
* @since 3.0
+ *
+ * @method ViewableArticleContent current()
+ * @method ViewableArticleContent[] getObjects()
+ * @method ViewableArticleContent|null search($objectID)
+ * @property ViewableArticleContent[] $objects
*/
class ViewableArticleContentList extends ArticleContentList {
/**
$mediaList->readObjects();
$images = $mediaList->getObjects();
- /** @var ViewableArticleContent $articleContent */
foreach ($this->getObjects() as $articleContent) {
if ($articleContent->imageID && isset($images[$articleContent->imageID])) {
$articleContent->setImage($images[$articleContent->imageID]);