public function add($title) {
        $channel = new VideoChannel($this->getContext());
        $this->addChild($channel);
        $channel->setProperty("Title",$title);
        $channel->setProperty("TileHtmlColor","#0072c6");
        $qry = new CreateEntityQuery($channel);
        $this->getContext()->addQuery($qry, $channel);
        return $channel;
    }
public function add($title) {
        $channel = new VideoChannel($this->getContext());
        $this->addChild($channel);
        $channel->setProperty("Title",$title);
        $channel->setProperty("TileHtmlColor","#0072c6");
        $qry = new CreateEntityQuery($channel);
        $this->getContext()->addQuery($qry, $channel);
        return $channel;
    }
public function add ( $ title ) { $ channel = new VideoChannel ( $ this -> getContext ( ) ) ; $ this -> addChild ( $ channel ) ; $ channel -> setProperty ( "Title" , $ title ) ; $ channel -> setProperty ( "TileHtmlColor" , "#0072c6" ) ; $ qry = new CreateEntityQuery ( $ channel ) ; $ this -> getContext ( ) -> addQuery ( $ qry , $ channel ) ; return $ channel ; }
Create an video channel
@param string $title
@return VideoChannel
Create an video channel