Lines Matching full:brand
7 class Brand class
15 * The brand of the current application/website
18 const CANONICAL = "brand";
21 * @var array an array of brand abbreviation as key and their name as value
44 * Brand constructor.
55 $brandDictionary = Brand::getBrandDictionary();
59 * Build the data for the brand
96 foreach ($brands as $brand) {
97 $brandNames[] = $brand->getName();
99 $brandNames[] = $brand->getAbbr();
110 * @return Brand[]
124 * @return array - the brand names that can be used as type in the brand button
130 foreach ($brands as $brand) {
131 if ($brand->supportButtonType($type)) {
132 $brandNamesForType[] = $brand->getName();
134 $brandNamesForType[] = $brand->getAbbr();
148 if (!isset(Brand::$brandDictionary)) {
150 Brand::$brandDictionary = Dictionary::getFrom("brands");
153 Brand::$brandDictionary = [];
157 return Brand::$brandDictionary;
163 * The name of the brand,
170 public static function create(string $brandName): Brand
174 $brandNameQualified = Brand::getBrandNameFromAbbr($brandNameQualified);
180 $brandObject = new Brand($brandNameQualified);
208 * If the brand name is unknown (ie custom)
224 if ($this->name === Brand::CURRENT_BRAND) {
244 * Brand button title
272 // Unknown or current brand / unknown color