Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MINOR Fixed phpdoc documentation

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@103384 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
commit 01b02969f93d6d66a05118f5629938edc7d0f4df 1 parent d565c50
@chillu chillu authored
View
6 code/LeftAndMain.php
@@ -475,7 +475,7 @@ public function SiteTreeAsUL() {
* shown
* @param $childrenMethod The method to call to get the children of the tree. For example,
* Children, AllChildrenIncludingDeleted, or AllHistoricalChildren
- * @return String Nested <ul> list with links to each page
+ * @return String Nested unordered list with links to each page
*/
function getSiteTreeFor($className, $rootID = null, $childrenMethod = null, $numChildrenMethod = null, $filterFunction = null, $minNodeCount = 30) {
// Default childrenMethod and numChildrenMethod
@@ -1214,6 +1214,10 @@ static function require_themed_css($name, $media = null) {
}
+/**
+ * @package cms
+ * @subpackage core
+ */
class LeftAndMainMarkingFilter {
/**
View
10 code/MemberTableField.php
@@ -13,6 +13,7 @@
* - members of a provided group
* - all members
* - members based on a search-query
+ *
* @package cms
* @subpackage security
*/
@@ -447,6 +448,10 @@ function forTemplate() {
}
+/**
+* @package cms
+* @subpackage security
+*/
class MemberTableField_Item extends ComplexTableField_Item {
function Actions() {
@@ -474,6 +479,11 @@ function Actions() {
}
}
+/**
+* @package cms
+* @subpackage security
+*/
+
class MemberTableField_ItemRequest extends ComplexTableField_ItemRequest {
/**
View
9 code/PermissionRoleAdmin.php
@@ -2,6 +2,9 @@
/**
* Admin interface for Permission Roles.
+ *
+ * @package cms
+ * @subpackage security
*/
class PermissionRoleAdmin extends ModelAdmin {
static $managed_models = array(
@@ -17,6 +20,9 @@ class PermissionRoleAdmin extends ModelAdmin {
/**
* Customized controller for hiding permissions on AddForm
+ *
+ * @package cms
+ * @subpackage security
*/
class PermissionRoleAdmin_CollectionController extends ModelAdmin_CollectionController {
public function AddForm() {
@@ -31,6 +37,9 @@ public function AddForm() {
/**
* Customized controller for hiding permissions on EditForm
+ *
+ * @package cms
+ * @subpackage security
*/
class PermissionRoleAdmin_RecordController extends ModelAdmin_RecordController {
public function EditForm() {
View
17 code/SideReport.php
@@ -2,6 +2,7 @@
/**
* Base class for the small reports that appear in the left hand site of the Site Content section of the CMS.
* Create subclasses of this class to build new reports.
+ *
* @package cms
* @subpackage content
*/
@@ -92,6 +93,7 @@ function canView() {
/**
* Content side-report listing empty pages
+ *
* @package cms
* @subpackage content
*/
@@ -117,6 +119,7 @@ function fieldsToShow() {
/**
* Content side-report listing recently editing pages.
+ *
* @package cms
* @subpackage content
*/
@@ -141,6 +144,10 @@ function fieldsToShow() {
}
}
+/**
+* @package cms
+* @subpackage content
+*/
class SideReport_ToDo extends SideReport {
function title() {
return _t('SideReport.TODO',"Pages with To Do items");
@@ -170,6 +177,7 @@ function fieldsToShow() {
/**
* Content side-report listing pages with broken links
+ *
* @package cms
* @subpackage content
*/
@@ -204,6 +212,7 @@ function getParameterFields() {
/**
* Content side-report listing pages with broken files
* or asset links
+ *
* @package cms
* @subpackage content
*/
@@ -235,6 +244,10 @@ function getParameterFields() {
}
}
+/**
+* @package cms
+* @subpackage content
+*/
class SideReport_BrokenVirtualPages extends SideReport {
function title() {
return _t('SideReport.BROKENVIRTUALPAGES', 'VirtualPages pointing to deleted pages');
@@ -261,6 +274,10 @@ function getParameterFields() {
}
}
+/**
+* @package cms
+* @subpackage content
+*/
class SideReport_BrokenRedirectorPages extends SideReport {
function title() {
return _t('SideReport.BROKENREDIRECTORPAGES', 'RedirectorPages pointing to deleted pages');
View
5 code/sitefeatures/PageComment.php
@@ -1,6 +1,7 @@
<?php
/**
* Represents a single comment on a page
+ *
* @package cms
* @subpackage comments
*/
@@ -158,6 +159,10 @@ public function onBeforeWrite() {
}
+/**
+ * @package cms
+ * @subpackage comments
+ */
class PageComment_Controller extends Controller {
function rss() {
$parentcheck = isset($_REQUEST['pageid']) ? "\"ParentID\" = " . (int) $_REQUEST['pageid'] : "\"ParentID\" > 0";
View
4 tasks/FilesystemSyncTask.php
@@ -1,4 +1,8 @@
<?php
+/**
+ * @package cms
+ * @subpackage assets
+ */
class FilesystemSyncTask extends BuildTask {
protected $title = "Sync Files & Images assets";
Please sign in to comment.
Something went wrong with that request. Please try again.