Skip to content

Commit

Permalink
added custom labels - James Barnsley
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Snowden committed Jun 23, 2016
1 parent 47d4833 commit 4890c39
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions src/LukeSnowden/GoogleShoppingFeed/Item.php
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,56 @@ public function item_group_id( $id ) {
$this->nodes['item_group_id'] = $node->value($id)->_namespace($this->namespace);
}

/**
* [custom_label description]
* @param [type] $customLabel [description]
* @return [type] [description]
*/
public function custom_label_0( $customLabel ) {
$node = new Node('custom_label_0');
$this->nodes['custom_label_0'] = $node->value($customLabel)->_namespace($this->namespace);
}

/**
* [custom_label_1 description]
* @param [type] $customLabel [description]
* @return [type] [description]
*/
public function custom_label_1( $customLabel ) {
$node = new Node('custom_label_1');
$this->nodes['custom_label_1'] = $node->value($customLabel)->_namespace($this->namespace);
}

/**
* [custom_label_2 description]
* @param [type] $customLabel [description]
* @return [type] [description]
*/
public function custom_label_2( $customLabel ) {
$node = new Node('custom_label_2');
$this->nodes['custom_label_2'] = $node->value($customLabel)->_namespace($this->namespace);
}

/**
* [custom_label_3 description]
* @param [type] $customLabel [description]
* @return [type] [description]
*/
public function custom_label_3( $customLabel ) {
$node = new Node('custom_label_3');
$this->nodes['custom_label_3'] = $node->value($customLabel)->_namespace($this->namespace);
}

/**
* [custom_label_4 description]
* @param [type] $customLabel [description]
* @return [type] [description]
*/
public function custom_label_4( $customLabel ) {
$node = new Node('custom_label_4');
$this->nodes['custom_label_4'] = $node->value($customLabel)->_namespace($this->namespace);
}

/**
* [nodes description]
* @return [type] [description]
Expand Down

0 comments on commit 4890c39

Please sign in to comment.