src/Models/Article.php
public function getAllVideos()
    {
        $videos = new ArrayList();
        if ($this->hasHeroVideo()) {
            $videos->push($this->HeroVideo());
        }
        if ($this->hasGalleryVideos()) {
            $videos->merge($this->VideoGallery());
        }
        $videos->removeDuplicates('HailID');

        return $videos;
    }
public function getAllVideos()
    {
        $videos = new ArrayList();
        if ($this->hasHeroVideo()) {
            $videos->push($this->HeroVideo());
        }
        if ($this->hasGalleryVideos()) {
            $videos->merge($this->VideoGallery());
        }
        $videos->removeDuplicates('HailID');

        return $videos;
    }
public function getAllVideos ( ) { $ videos = new ArrayList ( ) ; if ( $ this -> hasHeroVideo ( ) ) { $ videos -> push ( $ this -> HeroVideo ( ) ) ; } if ( $ this -> hasGalleryVideos ( ) ) { $ videos -> merge ( $ this -> VideoGallery ( ) ) ; } $ videos -> removeDuplicates ( 'HailID' ) ; return $ videos ; }
List of this Article's videos

Includes the Hero Video

@return ArrayList
List of this Article s videos