public function getMediaOrder()
    {
        $header = $this->header();

        return isset($header->media_order) ? array_map('trim', explode(',', (string)$header->media_order)) : [];
    }
public function getMediaOrder()
    {
        $header = $this->header();

        return isset($header->media_order) ? array_map('trim', explode(',', (string)$header->media_order)) : [];
    }
public function getMediaOrder ( ) { $ header = $ this -> header ( ) ; return isset ( $ header -> media_order ) ? array_map ( 'trim' , explode ( ',' , ( string ) $ header -> media_order ) ) : [ ] ; }
Get display order for the associated media.

@return array Empty array means default ordering.
Get display order for the associated media .