View DataObjectLinkTracking.php
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 | |
namespace Vulcan\Common\Traits; | |
use SilverStripe\Assets\File; | |
use SilverStripe\Forms\FieldList; | |
use SilverStripe\ORM\HasManyList; | |
/** | |
* Trait DataObjectLinkTracking |
View Page.php
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 | |
use SilverStripe\CMS\Controllers\ContentController; | |
use SilverStripe\CMS\Model\SiteTree; | |
/** | |
* Class Page | |
*/ | |
class Page extends SiteTree | |
{ |
View AbstractApiController.php
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 | |
namespace Zanderwar\Api\Controllers; | |
use SilverStripe\Control\Controller; | |
use SilverStripe\Control\HTTPResponse; | |
use SilverStripe\Core\Config\Config; | |
use SilverStripe\Core\Convert; | |
/** |
View ModifyModelAdminGridFieldConfig.php
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 Example extends ModelAdmin | |
{ | |
private static $url_segment = 'Example'; | |
private static $menu_title = 'Example'; | |
private static $managed_models = [ | |
Site::class |
View PopulateFormDefaults.php
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 MyForm extends Form | |
{ | |
/** | |
* @param Customer $customer | |
* @return $this | |
*/ | |
public function setObject(DataObject $object) | |
{ |
View ips-thumbnails.html
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
<img src='http://placehold.it/300x300' class='ipsThumb'/> | |
<img src='http://placehold.it/300x300' class='ipsThumb ipsThumb_large'/> | |
<img src='http://placehold.it/300x300' class='ipsThumb ipsThumb_medium'/> | |
<img src='http://placehold.it/300x300' class='ipsThumb ipsThumb_small'/> | |
<img src='http://placehold.it/300x300' class='ipsThumb ipsThumb_tiny'/> |
View ips-message-alerts.html
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
<div class='ipsMessage ipsMessage_info'><strong>Information:</strong> Look behind you!</div> | |
<div class='ipsMessage ipsMessage_error'><strong>Danger:</strong> Seriously..... Look behind you!</div> | |
<div class='ipsMessage ipsMessage_warning'><strong>Warning:</strong> Is that a robot?!? Be careful it bites!</div> | |
<div class='ipsMessage ipsMessage_success'><strong>Success:</strong> Wow where did you get that rocket launcher! *BOOM*</div> | |
<div class='ipsMessage ipsMessage_general'><strong>General:</strong> Yay it has powered down. Thank god no one got hurt!</div> |
View ipb4-grid-example.html
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
<div class='ipsGrid'> | |
<div class='ipsGrid_span4'>span4</div> | |
<div class='ipsGrid_span3'>span3</div> | |
<div class='ipsGrid_span5'>span5</div> | |
</div> |
NewerOlder