This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class CmcYouTubeEmbed extends DataObject { | |
private static $singular_name = 'Embedded YouTube Video'; | |
private static $plural_name = 'Embedded YouTube Videos'; | |
private static $db = array( | |
'YouTubeTitle' => 'Varchar(255)', | |
'YouTubeId' => 'Varchar(100)', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
YouTubeEmbedFunctionalTest.php | |
------- | |
class YouTubeEmbedFunctionalTest extends FunctionalTest { | |
/** | |
* @var YouTubeEmbed | |
*/ | |
private $youTubeEmbed; | |