Merge pull request #3107 from micmania1/patch-1

CustomMember extends wrong class.
This commit is contained in:
Simon Welsh 2014-05-24 11:08:35 +10:00
commit 824c6067a2

View File

@ -73,7 +73,7 @@ property on the class.
:::php
<?php
class CustomMember extends Member {
class MyMemberExtension extends DataExtension {
public function alterFoo($foo) {
// outputs the original class
@ -101,7 +101,7 @@ variables to update:
:::php
<?php
class CustomMember extends DataExtension {
class MyMemberExtension extends DataExtension {
private static $db = array(
'Position' => 'Varchar',
@ -121,7 +121,7 @@ CMS fields for an object in an extension:
:::php
<?php
class CustomMember extends DataExtension {
class MyMemberExtension extends DataExtension {
private static $db = array(
'Position' => 'Varchar',