first commit
This commit is contained in:
34
plugins/appAdsTrackerPlugin/lib/model/AdsTrackerList.php
Normal file
34
plugins/appAdsTrackerPlugin/lib/model/AdsTrackerList.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Subclass for representing a row from the 'app_ads_tracker_list' table.
|
||||
*
|
||||
*
|
||||
*
|
||||
* @package plugins.appAdsTrackerPlugin.lib.model
|
||||
*/
|
||||
class AdsTrackerList extends BaseAdsTrackerList
|
||||
{
|
||||
public function __toString()
|
||||
{
|
||||
$name = "";
|
||||
$group = "";
|
||||
|
||||
if($this->getAdsName()!=""){
|
||||
$name = " / ".$this->getAdsName();
|
||||
}
|
||||
|
||||
if($this->getAdsGroup()!=""){
|
||||
$group = " / ".$this->getAdsGroup();
|
||||
}
|
||||
|
||||
return $this->getId()." / ".$this->getAdsTrackerPlatform()->getAdsName()." - ".$this->getAdsTrackerCampaign()->getAdsName().$group.$name;
|
||||
}
|
||||
|
||||
|
||||
public function getAdminGeneratorTitle()
|
||||
{
|
||||
return $this->getAdsName();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user