Recherche avancée

Médias (2)

Mot : - Tags -/media

Autres articles (54)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (8283)

  • Révision 19825 : class grostitre manquante (arno)

    20 août 2012, par cedric -
  • Revision 65042 : Une class editer sur le nouveau champ On utilise polyhiérarchie pour ...

    20 août 2012, par kent1@… — Log

    Une class editer sur le nouveau champ
    On utilise polyhiérarchie pour qu’il passe devant
    Passage en 1.0.1

  • Is there a way to inherit ffmpeg_movie class in PHP ?

    27 juin 2012, par Danylo Mysak

    When I run the following code I get B as expected :

    class A {
       public function __construct($file){}
    }

    class B extends A {
       public function __construct() {
           parent::__construct('test.flv');
       }
    }

    $b = new B();
    print get_class($b);

    However, consider a slightly modified version of this code (here ffmpeg_movie class is a part of http://ffmpeg-php.sourceforge.net library) :

    class B extends ffmpeg_movie {
       public function __construct() {
           parent::__construct('test.flv');
       }
    }

    $b = new B();
    print get_class($b);

    It returns ffmpeg_movie instead of B. Furthermore, it turns out that methods defined in B class aren’t accessible when using $b object :

    class B extends ffmpeg_movie {
       public function __construct() {
           parent::__construct('test.flv');
       }

       public function test() {
           print 'ok';
       }
    }

    $b = new B();
    $b->test();

    Fatal error: Call to undefined method ffmpeg_movie::test() in .../test.php on line 13

    What exactly is going on here and is there a workaround ?