Skip to content

Commit

Permalink
Strict standards fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
brendo committed Nov 30, 2014
1 parent aadda3d commit 3458274
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions fields/field.publish_tabs.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ public function commit(){
Publish:
-------------------------------------------------------------------------*/

public function displayPublishPanel(&$wrapper, $data=NULL, $flagWithError=NULL, $fieldnamePrefix=NULL, $fieldnamePostfix=NULL){
public function displayPublishPanel(XMLElement &$wrapper, $data = NULL, $flagWithError = NULL, $fieldnamePrefix = NULL, $fieldnamePostfix = NULL, $entry_id = NULL){
$wrapper->setValue($this->get('label'));
}

public function processRawFieldData($data, &$status, $simulate=false, $entry_id=NULL) {
public function processRawFieldData($data, &$status, &$message = NULL, $simulate = false, $entry_id = NULL) {
$status = self::__OK__;

return array(
Expand All @@ -69,11 +69,11 @@ public function processRawFieldData($data, &$status, $simulate=false, $entry_id=
Output:
-------------------------------------------------------------------------*/

public function appendFormattedElement(&$wrapper, $data, $encode=false, $mode=NULL) {
public function appendFormattedElement(XMLElement &$wrapper, $data, $encode = false, $mode = NULL, $entry_id = NULL) {

}

public function prepareReadableValue($data, $entry_id=NULL) {
public function prepareReadableValue($data, $entry_id = NULL, $truncate = false, $defaultValue = NULL) {
return $this->prepareTableValue($data, null, $entry_id);
}

Expand Down

0 comments on commit 3458274

Please sign in to comment.