Skip to content
This repository has been archived by the owner on Jan 10, 2021. It is now read-only.

Commit

Permalink
DOCUMENTATION, bumping the version.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Glasl committed Oct 5, 2017
1 parent d5c889a commit 6a1affe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# [mediawesome](https://packagist.org/packages/nglasl/silverstripe-mediawesome)

_The current release is **2.0.6**_
_The current release is **2.0.7**_

> A module for SilverStripe which will allow creation of dynamic media holders/pages with CMS customisable types and attributes (blogs, events, news, publications).
Expand Down
10 changes: 6 additions & 4 deletions code/pages/MediaHolder.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,20 +88,22 @@ public function getCMSFields() {
}

/**
* Retrieve any MediaHolders that are children of this MediaHolder.
* Retrieve any `MediaHolder` children of this `MediaHolder`.
*
* @return data list
* @return data list
*/

public function getMediaHolderChildren() {

return $this->AllChildren()->where("ClassName = 'MediaHolder'");
}

/**
* Retrieve any MediaPages that are children of this MediaHolder.
* Retrieve any `MediaPage` children of this `MediaHolder`.
*
* @return data list
* @return data list
*/

public function getMediaPageChildren() {

return $this->AllChildren()->where("ClassName = 'MediaPage'");
Expand Down

0 comments on commit 6a1affe

Please sign in to comment.