public static function GetByName($attributeGroupName) { return AttributeGroup::find(array('name' => $attributeGroupName)); }